Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[🐛 Regression,Edge]: Edge Driver will not start on Linux #14302

Closed
lprimak opened this issue Jul 24, 2024 · 21 comments
Closed

[🐛 Regression,Edge]: Edge Driver will not start on Linux #14302

lprimak opened this issue Jul 24, 2024 · 21 comments
Labels
G-msedgedriver Requires fixes in MSEdgeDriver I-logging Applied to issues where logging information would help troubleshoot I-question Applied to questions. Issues should be closed and send the user to community resources.

Comments

@lprimak
Copy link

lprimak commented Jul 24, 2024

What happened?

Selenium Manager / Edge driver download is broken:

java.lang.RuntimeException: 
Unable to instantiate Drone via org.openqa.selenium.edge.EdgeDriver(EdgeDriverService,EdgeOptions): org.openqa.selenium.remote.NoSuchDriverException: Unable to obtain: msedgedriver, error Command failed with code: 65, executed: [--browser, MicrosoftEdge, --language-binding, java, --output, json]
Unable to discover MicrosoftEdge in online repository
Build info: version: '4.23.0', revision: '4df0a231af'
System info: os.name: 'Linux', os.arch: 'aarch64', os.version: '5.15.0-208.159.3.el9uek.aarch64', java.version: '22.0.2'
Driver info: driver.version: EdgeDriver
Caused by: org.openqa.selenium.remote.NoSuchDriverException: Unable to obtain: msedgedriver, error Command failed with code: 65, executed: [--browser, MicrosoftEdge, --language-binding, java, --output, json]
Unable to discover MicrosoftEdge in online repository
Build info: version: '4.23.0', revision: '4df0a231af'
System info: os.name: 'Linux', os.arch: 'aarch64', os.version: '5.15.0-208.159.3.el9uek.aarch64', java.version: '22.0.2'
Driver info: driver.version: EdgeDriver
	at org.openqa.selenium.remote.service.DriverFinder.getBinaryPaths(DriverFinder.java:121)
	at org.openqa.selenium.remote.service.DriverFinder.getDriverPath(DriverFinder.java:55)
	at org.openqa.selenium.edge.EdgeDriver.generateExecutor(EdgeDriver.java:71)
	at org.openqa.selenium.edge.EdgeDriver.<init>(EdgeDriver.java:60)
	at org.openqa.selenium.edge.EdgeDriver.<init>(EdgeDriver.java:56)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
	at org.jboss.arquillian.drone.webdriver.factory.SecurityActions.newInstance(SecurityActions.java:144)
	... 11 more
Caused by: org.openqa.selenium.WebDriverException: Command failed with code: 65, executed: [--browser, MicrosoftEdge, --language-binding, java, --output, json]
Unable to discover MicrosoftEdge in online repository
Build info: version: '4.23.0', revision: '4df0a231af'
System info: os.name: 'Linux', os.arch: 'aarch64', os.version: '5.15.0-208.159.3.el9uek.aarch64', java.version: '22.0.2'
Driver info: driver.version: EdgeDriver
	at org.openqa.selenium.manager.SeleniumManager.runCommand(SeleniumManager.java:170)
	at org.openqa.selenium.manager.SeleniumManager.getBinaryPaths(SeleniumManager.java:247)
	at org.openqa.selenium.remote.service.DriverFinder.getBinaryPaths(DriverFinder.java:102)
	... 18 more

Also happens on Intel architecture with Java 17:

System info: os.name: 'Linux', os.arch: 'amd64', os.version: '5.15.0-1057-aws', java.version: '17.0.11'

How can we reproduce the issue?

Run any test without Edge being downloaded into the `.cache` directory or installed locally on machine.
This only breaks on Linux, not Mac.

Relevant log output

Already described

Operating System

Linux

Selenium version

Java 22, Selenium 4.23.0

What are the browser(s) and version(s) where you see this issue?

Edge

What are the browser driver(s) and version(s) where you see this issue?

EdgeDriver

Are you using Selenium Grid?

N/A

Copy link

@lprimak, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C), add the applicable G-* label, and it will provide the correct link and auto-close the issue.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

@diemol
Copy link
Member

diemol commented Jul 29, 2024

Unable to discover MicrosoftEdge in online repository

Check your network configuration: https://www.selenium.dev/documentation/selenium_manager/#connectivity-issues

@diemol diemol added I-question Applied to questions. Issues should be closed and send the user to community resources. and removed I-defect needs-triaging labels Jul 29, 2024
Copy link

💬 Please ask questions at:

@lprimak
Copy link
Author

lprimak commented Jul 30, 2024

Hi, @diemol
I am not sure I understand your comment and closing this issue.
Problem happens on multiple linux machines on multiple networks.
The link provided doesn't seem relevant to this problem.
This is a regression, this has been working well for over a year on the same systems.
I can't get Edge tests to work on the brand new Linux VMs either.

Please reopen this.
Thank you

@diemol
Copy link
Member

diemol commented Jul 30, 2024

The error says that your machine could not connect to the repository where Selenium Manager can download MS Edge or MsEdgeDriver. That's why I suggest you check the network configuration and link the troubleshooting section.

@lprimak
Copy link
Author

lprimak commented Jul 30, 2024

I cannot seem to create any Linux machine that does this successfully.
This suggests the repository no longer exists, or it doesn't exist in a format that Selenium Manager is expecting.
Broke about a week ago.

@diemol diemol added the I-logging Applied to issues where logging information would help troubleshoot label Jul 30, 2024
Copy link

We need more information about this issue in order to troubleshoot.

Please turn on logging and re-run your code. Information on how to adjust logs for your language can be found in our
Troubleshooting documentation.

@lprimak
Copy link
Author

lprimak commented Jul 30, 2024

@diemol
Copy link
Member

diemol commented Jul 30, 2024

Those logs don't have the debug level needed to see the commands executed. Did you check the link above?

@prduguid
Copy link

prduguid commented Jul 30, 2024

I suspect that the format/content of the JSON returned is causing this failure.

./manager/0.4.23/selenium-manager --browser edge --driver msedgedriver --trace --force-browser-download --clear-cache
[2024-07-30T16:45:11.569Z TRACE] Reading metadata from /root/.cache/selenium/se-metadata.json
[2024-07-30T16:45:11.569Z TRACE] Metadata file does not exist. Creating a new one
[2024-07-30T16:45:11.569Z DEBUG] Sending stats to Plausible: Props { browser: "edge", browser_version: "", os: "linux", arch: "x86_64", lang: "", selenium_version: "4.23" }
[2024-07-30T16:45:11.569Z TRACE] Writing metadata to /root/.cache/selenium/se-metadata.json
[2024-07-30T16:45:11.570Z TRACE] Checking msedgedriver in PATH
[2024-07-30T16:45:11.578Z DEBUG] msedgedriver not found in PATH
[2024-07-30T16:45:11.578Z TRACE] Reading metadata from /root/.cache/selenium/se-metadata.json
[2024-07-30T16:45:11.579Z DEBUG] Checking edge releases on https://edgeupdates.microsoft.com/api/products/
[2024-07-30T16:45:12.748Z ERROR] error sending request for url (https://edgeupdates.microsoft.com/api/products/)

... as I can fetch JSON data from the URL that selenium-manager is failing at:

curl https://edgeupdates.microsoft.com/api/products/
[{"Product":"Stable","Releases":[{"ReleaseId":77621,"Platform":"Android","Architecture":"arm64","CVEs":[],"ProductVersion":"126.0.2592.106","Artifacts":[],"PublishedTime":"2024-07-15T03:16:00","ExpectedExpiryDate":"2024-10-15T03:16:00"},{"ReleaseId":78245,"Platform":"Windows","Architecture":"arm64","CVEs":["CVE-2024-38156","CVE-2024-39379","CVE-2024-6998","CVE-2024-5839","CVE-2024-7000","CVE-2024-7003","CVE-2024-5493","CVE-2024-38103","CVE-2024-5499","CVE-2024-6999","CVE-2024-5497","CVE-2024-6778","CVE-2024-6777","CVE-2024-6775","CVE-2024-7001","CVE-2024-6989","CVE-2024-6993"],"ProductVersion":"127.0.2651.74","Artifacts":[{"ArtifactName":"msi","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/62a8f579-3686-43fe-a0db-10f91d71a944/MicrosoftEdgeEnterpriseARM64.msi","Hash":"99943C5F0BFE5427C9980AF8F8EA43E8252A9E2607F4851B8B8A27BB49860B4C","HashAlgorithm":"SHA256","SizeInBytes":179433472}],"PublishedTime":"2024-07-27T08:33:00","ExpectedExpiryDate":"2025-07-25T18:43:00"},{"ReleaseId":78246,"Platform":"Windows","Architecture":"x64","CVEs":["CVE-2024-38156","CVE-2024-39379","CVE-2024-6998","CVE-2024-5839","CVE-2024-7000","CVE-2024-7003","CVE-2024-5493","CVE-2024-38103","CVE-2024-5499","CVE-2024-6999","CVE-2024-5497","CVE-2024-6778","CVE-2024-6777","CVE-2024-6775","CVE-2024-7001","CVE-2024-6989","CVE-2024-6993"],"ProductVersion":"127.0.2651.74","Artifacts":[{"ArtifactName":"msi","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/f99bf7d5-77f2-4659-81e7-4e9bed513374/MicrosoftEdgeEnterpriseX64.msi","Hash":"D8E97029246E5E2ED79A263CFE834D1A06B725552232A158241D6500151D1B61","HashAlgorithm":"SHA256","SizeInBytes":178515968}],"PublishedTime":"2024-07-27T09:45:00","ExpectedExpiryDate":"2025-07-25T18:44:00"},{"ReleaseId":78249,"Platform":"Windows","Architecture":"x86","CVEs":["CVE-2024-38156","CVE-2024-39379","CVE-2024-6998","CVE-2024-5839","CVE-2024-7000","CVE-2024-7003","CVE-2024-5493","CVE-2024-38103","CVE-2024-5499","CVE-2024-6999","CVE-2024-5497","CVE-2024-6778","CVE-2024-6777","CVE-2024-6775","CVE-2024-7001","CVE-2024-6989","CVE-2024-6993"],"ProductVersion":"127.0.2651.74","Artifacts":[{"ArtifactName":"msi","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/7dd9aedf-8e32-4c45-b55e-3a6ff14c3314/MicrosoftEdgeEnterpriseX86.msi","Hash":"4FEC5C270DC3BFE729C5F23C0614EFDF24E90DEBDE6D35A585B16CDFBDDB8979","HashAlgorithm":"SHA256","SizeInBytes":161832960}],"PublishedTime":"2024-07-27T10:56:00","ExpectedExpiryDate":"2025-07-25T18:48:00"},{"ReleaseId":78254,"Platform":"Linux","Architecture":"x64","CVEs":["CVE-2024-38156","CVE-2024-39379","CVE-2024-5839","CVE-2024-7000","CVE-2024-7003","CVE-2024-5493","CVE-2024-38103","CVE-2024-5499","CVE-2024-6999","CVE-2024-5497","CVE-2024-6994","CVE-2024-6778","CVE-2024-6775","CVE-2024-7001","CVE-2024-6989","CVE-2024-6993"],"ProductVersion":"127.0.2651.74","Artifacts":[],"PublishedTime":"2024-07-25T19:07:00","ExpectedExpiryDate":"2025-07-25T19:07:00"},{"ReleaseId":78257,"Platform":"MacOS","Architecture":"universal","CVEs":[],"ProductVersion":"127.0.2651.74","Artifacts":[{"ArtifactName":"pkg","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/a02346ad-1475-4f63-8fba-bd4b5755fcb1/MicrosoftEdge-127.0.2651.74.pkg","Hash":"081684B050BAF0DB09859B778538A194CBF0DF948B08FA731713A7D8D558C0A0","HashAlgorithm":"SHA256","SizeInBytes":393927599},{"ArtifactName":"plist","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/cebc8b15-ce43-4d04-b6b7-c8fffba3b91d/MicrosoftEdge-127.0.2651.74.plist","Hash":"2528D67A9E9A6C18C344ECE4E6C8CE2A925A49333BB055B9569503E61AF750D7","HashAlgorithm":"SHA256","SizeInBytes":3267}],"PublishedTime":"2024-07-25T19:16:00","ExpectedExpiryDate":"2025-07-25T19:16:00"},{"ReleaseId":78498,"Platform":"iOS","Architecture":"arm64","CVEs":[],"ProductVersion":"127.0.2651.81","Artifacts":[],"PublishedTime":"2024-07-30T03:16:00","ExpectedExpiryDate":"2025-07-30T03:16:00"}]},{"Product":"Beta","Releases":[{"ReleaseId":78210,"Platform":"Linux","Architecture":"x64","CVEs":["CVE-2024-38156","CVE-2024-39379","CVE-2024-5839","CVE-2024-7000","CVE-2024-7003","CVE-2024-5493","CVE-2024-38103","CVE-2024-5499","CVE-2024-6999","CVE-2024-5497","CVE-2024-6994","CVE-2024-6778","CVE-2024-6775","CVE-2024-7001","CVE-2024-6989","CVE-2024-6993"],"ProductVersion":"127.0.2651.74","Artifacts":[],"PublishedTime":"2024-07-25T17:26:00","ExpectedExpiryDate":"2024-10-25T17:26:00"},{"ReleaseId":78215,"Platform":"MacOS","Architecture":"universal","CVEs":[],"ProductVersion":"127.0.2651.74","Artifacts":[{"ArtifactName":"plist","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/1672cfd6-d7eb-4731-aff0-f590a1d3fee9/MicrosoftEdgeBeta-127.0.2651.74.plist","Hash":"38853D2F0446D7A6E7540D99F236BEF455454675EFEC03278107A3307DFA5C2A","HashAlgorithm":"SHA256","SizeInBytes":3281},{"ArtifactName":"pkg","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/c693b515-91cc-4c4a-8f62-991f7dd1ea70/MicrosoftEdgeBeta-127.0.2651.74.pkg","Hash":"D22FADD41475E85B56EC32C42D6167898FCF12DDA89DD4B0108593D07A8611A9","HashAlgorithm":"SHA256","SizeInBytes":393954708}],"PublishedTime":"2024-07-25T17:40:00","ExpectedExpiryDate":"2024-10-25T17:40:00"},{"ReleaseId":78218,"Platform":"Windows","Architecture":"arm64","CVEs":["CVE-2024-38156","CVE-2024-39379","CVE-2024-6998","CVE-2024-5839","CVE-2024-7000","CVE-2024-7003","CVE-2024-5493","CVE-2024-38103","CVE-2024-5499","CVE-2024-6999","CVE-2024-5497","CVE-2024-6778","CVE-2024-6777","CVE-2024-6775","CVE-2024-7001","CVE-2024-6989","CVE-2024-6993"],"ProductVersion":"127.0.2651.74","Artifacts":[{"ArtifactName":"msi","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/320fb669-5184-4bf0-ab18-87ccfe72c096/MicrosoftEdgeBetaEnterpriseARM64.msi","Hash":"A03AB45FA3CDC4BEAA1BB069957A6BA86D01097B270DC39693736033036C56A0","HashAlgorithm":"SHA256","SizeInBytes":179433472}],"PublishedTime":"2024-07-25T17:44:00","ExpectedExpiryDate":"2024-10-25T17:44:00"},{"ReleaseId":78221,"Platform":"Windows","Architecture":"x64","CVEs":["CVE-2024-38156","CVE-2024-39379","CVE-2024-6998","CVE-2024-5839","CVE-2024-7000","CVE-2024-7003","CVE-2024-5493","CVE-2024-38103","CVE-2024-5499","CVE-2024-6999","CVE-2024-5497","CVE-2024-6778","CVE-2024-6777","CVE-2024-6775","CVE-2024-7001","CVE-2024-6989","CVE-2024-6993"],"ProductVersion":"127.0.2651.74","Artifacts":[{"ArtifactName":"msi","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/c41b2f3c-44b2-43da-968a-4005a70ead71/MicrosoftEdgeBetaEnterpriseX64.msi","Hash":"65BD84278ECE6230AEB8E2C7FED20BCA5FE30BD2AA3C61311278D7D92C4BE691","HashAlgorithm":"SHA256","SizeInBytes":178515968}],"PublishedTime":"2024-07-25T17:58:00","ExpectedExpiryDate":"2024-10-25T17:58:00"},{"ReleaseId":78223,"Platform":"Windows","Architecture":"x86","CVEs":["CVE-2024-38156","CVE-2024-39379","CVE-2024-6998","CVE-2024-5839","CVE-2024-7000","CVE-2024-7003","CVE-2024-5493","CVE-2024-38103","CVE-2024-5499","CVE-2024-6999","CVE-2024-5497","CVE-2024-6778","CVE-2024-6777","CVE-2024-6775","CVE-2024-7001","CVE-2024-6989","CVE-2024-6993"],"ProductVersion":"127.0.2651.74","Artifacts":[{"ArtifactName":"msi","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/20e582f8-8ff8-4614-a348-9ce4941873eb/MicrosoftEdgeBetaEnterpriseX86.msi","Hash":"877B9D9DA7077ABE861B264BC50ABC9828CD4EF60C495D34163DE94E73CB1717","HashAlgorithm":"SHA256","SizeInBytes":161832960}],"PublishedTime":"2024-07-25T17:59:00","ExpectedExpiryDate":"2024-10-25T17:59:00"},{"ReleaseId":78233,"Platform":"Android","Architecture":"arm64","CVEs":[],"ProductVersion":"127.0.2651.73","Artifacts":[],"PublishedTime":"2024-07-25T18:14:00","ExpectedExpiryDate":"2024-10-25T18:14:00"},{"ReleaseId":78267,"Platform":"iOS","Architecture":"arm64","CVEs":[],"ProductVersion":"127.0.2651.73","Artifacts":[],"PublishedTime":"2024-07-25T20:11:00","ExpectedExpiryDate":"2024-10-25T20:11:00"}]},{"Product":"Dev","Releases":[{"ReleaseId":78141,"Platform":"Linux","Architecture":"x64","CVEs":[],"ProductVersion":"128.0.2730.0","Artifacts":[],"PublishedTime":"2024-07-24T21:34:00","ExpectedExpiryDate":"2024-10-24T21:34:00"},{"ReleaseId":78146,"Platform":"Windows","Architecture":"arm64","CVEs":[],"ProductVersion":"128.0.2730.0","Artifacts":[{"ArtifactName":"msi","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/2bd548e0-5f52-4a25-826f-57d6fcff076e/MicrosoftEdgeDevEnterpriseARM64.msi","Hash":"F489555149CE67D23FDA59B79BFA447FD2FE069F4991618F836E7CB05B044ECC","HashAlgorithm":"SHA256","SizeInBytes":181223424}],"PublishedTime":"2024-07-24T21:45:00","ExpectedExpiryDate":"2024-10-24T21:45:00"},{"ReleaseId":78150,"Platform":"MacOS","Architecture":"universal","CVEs":[],"ProductVersion":"128.0.2730.0","Artifacts":[{"ArtifactName":"plist","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/d0b23365-df08-4ad0-a3d0-151e8318d4f6/MicrosoftEdgeDev-128.0.2730.0.plist","Hash":"DE69B1BFDA739FB92C18F9D79AC2C2F17A1C8E0D437354AB5703651186450A71","HashAlgorithm":"SHA256","SizeInBytes":3277},{"ArtifactName":"pkg","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/d923881e-9241-433b-8b07-113a298264e7/MicrosoftEdgeDev-128.0.2730.0.pkg","Hash":"BB95AE89D693A2590480B7CF125F7307A4AB7F59B9D2957F620A06A2238B7F52","HashAlgorithm":"SHA256","SizeInBytes":396932101}],"PublishedTime":"2024-07-24T21:51:00","ExpectedExpiryDate":"2024-10-24T21:51:00"},{"ReleaseId":78152,"Platform":"Windows","Architecture":"x64","CVEs":[],"ProductVersion":"128.0.2730.0","Artifacts":[{"ArtifactName":"msi","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/09d367c3-cb89-453a-baf9-0293e299dd91/MicrosoftEdgeDevEnterpriseX64.msi","Hash":"9648C7A7F10617E0081DFC9DF0CC18BD4CABDE07F7A8950F03CC61FFF7C25704","HashAlgorithm":"SHA256","SizeInBytes":179879936}],"PublishedTime":"2024-07-24T22:06:00","ExpectedExpiryDate":"2024-10-24T22:06:00"},{"ReleaseId":78157,"Platform":"Windows","Architecture":"x86","CVEs":[],"ProductVersion":"128.0.2730.0","Artifacts":[{"ArtifactName":"msi","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/ad67a010-fa3a-44a7-97de-4c77e1075b0b/MicrosoftEdgeDevEnterpriseX86.msi","Hash":"C5FABD86EA483DC145E2FBBA6E4F20A1C4C7DD60B2134B1CD7FDA9A4C00B183B","HashAlgorithm":"SHA256","SizeInBytes":163250176}],"PublishedTime":"2024-07-24T22:08:00","ExpectedExpiryDate":"2024-10-24T22:08:00"},{"ReleaseId":78169,"Platform":"Android","Architecture":"arm64","CVEs":[],"ProductVersion":"128.0.2730.0","Artifacts":[],"PublishedTime":"2024-07-24T22:38:00","ExpectedExpiryDate":"2024-10-24T22:38:00"},{"ReleaseId":78209,"Platform":"iOS","Architecture":"arm64","CVEs":[],"ProductVersion":"128.0.2729.0","Artifacts":[],"PublishedTime":"2024-07-25T16:16:00","ExpectedExpiryDate":"2024-10-25T16:16:00"}]},{"Product":"Canary","Releases":[{"ReleaseId":78503,"Platform":"Windows","Architecture":"x86","CVEs":[],"ProductVersion":"129.0.2746.0","Artifacts":[],"PublishedTime":"2024-07-30T13:29:00","ExpectedExpiryDate":"2024-10-30T08:09:00"},{"ReleaseId":78504,"Platform":"Windows","Architecture":"arm64","CVEs":[],"ProductVersion":"129.0.2746.0","Artifacts":[],"PublishedTime":"2024-07-30T13:06:00","ExpectedExpiryDate":"2024-10-30T08:13:00"},{"ReleaseId":78506,"Platform":"Windows","Architecture":"x64","CVEs":[],"ProductVersion":"129.0.2746.0","Artifacts":[],"PublishedTime":"2024-07-30T13:28:00","ExpectedExpiryDate":"2024-10-30T08:27:00"},{"ReleaseId":78522,"Platform":"Android","Architecture":"arm64","CVEs":[],"ProductVersion":"129.0.2745.0","Artifacts":[],"PublishedTime":"2024-07-30T13:07:00","ExpectedExpiryDate":"2024-10-30T13:07:00"},{"ReleaseId":78527,"Platform":"MacOS","Architecture":"universal","CVEs":[],"ProductVersion":"129.0.2746.0","Artifacts":[{"ArtifactName":"plist","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/a4f929fa-0b91-4fe2-8f26-3ea438153cd9/MicrosoftEdgeCanary-129.0.2746.0.plist","Hash":"23682F7A482B3DA395136881611C16AF7F2D287C904025CF44DBCA961BDFB9F7","HashAlgorithm":"SHA256","SizeInBytes":3286},{"ArtifactName":"pkg","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/b15e3251-f3b2-47b6-bc54-dcdd3a62ed28/MicrosoftEdgeCanary-129.0.2746.0.pkg","Hash":"B5F27F77B7CB5F507CE9301E87170FFA9CA90F6324F45B373E2CA0642B50057E","HashAlgorithm":"SHA256","SizeInBytes":396881274}],"PublishedTime":"2024-07-30T13:18:00","ExpectedExpiryDate":"2024-10-30T13:18:00"}]},{"Product":"EdgeUpdate","Releases":[{"ReleaseId":78446,"Platform":"Windows","Architecture":"x86","CVEs":[],"ProductVersion":"1.3.195.15","Artifacts":[{"ArtifactName":"exe","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/932857a7-3fd2-460a-98b9-8625069e5697/MicrosoftEdgeUpdateSetup_X86_1.3.195.15.exe","Hash":"91F0DEEC7D7319E57477B74A7A5F4D17C15EB2924B53E05A5998D67ECC8201F2","HashAlgorithm":"SHA256","SizeInBytes":1645112}],"PublishedTime":"2024-07-29T03:34:00","ExpectedExpiryDate":"2025-07-29T03:34:00"}]}

Is this sufficient logging to open this issue?

@lprimak
Copy link
Author

lprimak commented Jul 30, 2024

@diemol please reopen this issue. I am not the only one who is having it and it’s likely not an “operator error”

thank you.

@diemol
Copy link
Member

diemol commented Jul 30, 2024

@bonigarcia do you know if there is an issue on Edge?

@bonigarcia
Copy link
Member

I have checked this, and it seems the response by the Edge API products is not consistent since, at this moment, there is no release for Edge beta in Linux:

$./selenium-manager --browser edge --browser-version beta --trace
[2024-07-30T19:09:05.313Z TRACE] Reading metadata from /home/boni/.cache/selenium/se-metadata.json
[2024-07-30T19:09:05.314Z TRACE] Checking msedgedriver in PATH
[2024-07-30T19:09:05.319Z DEBUG] msedgedriver not found in PATH
[2024-07-30T19:09:05.319Z TRACE] Checking edge in PATH
[2024-07-30T19:09:05.320Z DEBUG] edge not found in PATH
[2024-07-30T19:09:05.320Z TRACE] Using shell command to find out edge version
[2024-07-30T19:09:05.320Z DEBUG] edge beta not found in the system
[2024-07-30T19:09:05.320Z TRACE] Reading metadata from /home/boni/.cache/selenium/se-metadata.json
[2024-07-30T19:09:05.320Z DEBUG] Checking edge releases on https://edgeupdates.microsoft.com/api/products/
[2024-07-30T19:09:05.434Z TRACE] Products: [EdgeProduct { product: "Beta", releases: [Release { release_id: 78210, platform: "Linux", architecture: "x64", cves: ["CVE-2024-38156", "CVE-2024-39379", "CVE-2024-5839", "CVE-2024-7000", "CVE-2024-7003", "CVE-2024-5493", "CVE-2024-38103", "CVE-2024-5499", "CVE-2024-6999", "CVE-2024-5497", "CVE-2024-6994", "CVE-2024-6778", "CVE-2024-6775", "CVE-2024-7001", "CVE-2024-6989", "CVE-2024-6993"], product_version: "127.0.2651.74", artifacts: [], published_time: "2024-07-25T17:26:00", expected_expiry_date: "2024-10-25T17:26:00" }, Release { release_id: 78215, platform: "MacOS", architecture: "universal", cves: [], product_version: "127.0.2651.74", artifacts: [Artifact { artifact_name: "plist", location: "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/1672cfd6-d7eb-4731-aff0-f590a1d3fee9/MicrosoftEdgeBeta-127.0.2651.74.plist", hash: "38853D2F0446D7A6E7540D99F236BEF455454675EFEC03278107A3307DFA5C2A", hash_algorithm: "SHA256", size_in_bytes: 3281 }, Artifact { artifact_name: "pkg", location: "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/c693b515-91cc-4c4a-8f62-991f7dd1ea70/MicrosoftEdgeBeta-127.0.2651.74.pkg", hash: "D22FADD41475E85B56EC32C42D6167898FCF12DDA89DD4B0108593D07A8611A9", hash_algorithm: "SHA256", size_in_bytes: 393954708 }], published_time: "2024-07-25T17:40:00", expected_expiry_date: "2024-10-25T17:40:00" }, Release { release_id: 78218, platform: "Windows", architecture: "arm64", cves: ["CVE-2024-38156", "CVE-2024-39379", "CVE-2024-6998", "CVE-2024-5839", "CVE-2024-7000", "CVE-2024-7003", "CVE-2024-5493", "CVE-2024-38103", "CVE-2024-5499", "CVE-2024-6999", "CVE-2024-5497", "CVE-2024-6778", "CVE-2024-6777", "CVE-2024-6775", "CVE-2024-7001", "CVE-2024-6989", "CVE-2024-6993"], product_version: "127.0.2651.74", artifacts: [Artifact { artifact_name: "msi", location: "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/320fb669-5184-4bf0-ab18-87ccfe72c096/MicrosoftEdgeBetaEnterpriseARM64.msi", hash: "A03AB45FA3CDC4BEAA1BB069957A6BA86D01097B270DC39693736033036C56A0", hash_algorithm: "SHA256", size_in_bytes: 179433472 }], published_time: "2024-07-25T17:44:00", expected_expiry_date: "2024-10-25T17:44:00" }, Release { release_id: 78221, platform: "Windows", architecture: "x64", cves: ["CVE-2024-38156", "CVE-2024-39379", "CVE-2024-6998", "CVE-2024-5839", "CVE-2024-7000", "CVE-2024-7003", "CVE-2024-5493", "CVE-2024-38103", "CVE-2024-5499", "CVE-2024-6999", "CVE-2024-5497", "CVE-2024-6778", "CVE-2024-6777", "CVE-2024-6775", "CVE-2024-7001", "CVE-2024-6989", "CVE-2024-6993"], product_version: "127.0.2651.74", artifacts: [Artifact { artifact_name: "msi", location: "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/c41b2f3c-44b2-43da-968a-4005a70ead71/MicrosoftEdgeBetaEnterpriseX64.msi", hash: "65BD84278ECE6230AEB8E2C7FED20BCA5FE30BD2AA3C61311278D7D92C4BE691", hash_algorithm: "SHA256", size_in_bytes: 178515968 }], published_time: "2024-07-25T17:58:00", expected_expiry_date: "2024-10-25T17:58:00" }, Release { release_id: 78223, platform: "Windows", architecture: "x86", cves: ["CVE-2024-38156", "CVE-2024-39379", "CVE-2024-6998", "CVE-2024-5839", "CVE-2024-7000", "CVE-2024-7003", "CVE-2024-5493", "CVE-2024-38103", "CVE-2024-5499", "CVE-2024-6999", "CVE-2024-5497", "CVE-2024-6778", "CVE-2024-6777", "CVE-2024-6775", "CVE-2024-7001", "CVE-2024-6989", "CVE-2024-6993"], product_version: "127.0.2651.74", artifacts: [Artifact { artifact_name: "msi", location: "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/20e582f8-8ff8-4614-a348-9ce4941873eb/MicrosoftEdgeBetaEnterpriseX86.msi", hash: "877B9D9DA7077ABE861B264BC50ABC9828CD4EF60C495D34163DE94E73CB1717", hash_algorithm: "SHA256", size_in_bytes: 161832960 }], published_time: "2024-07-25T17:59:00", expected_expiry_date: "2024-10-25T17:59:00" }, Release { release_id: 78233, platform: "Android", architecture: "arm64", cves: [], product_version: "127.0.2651.73", artifacts: [], published_time: "2024-07-25T18:14:00", expected_expiry_date: "2024-10-25T18:14:00" }, Release { release_id: 78267, platform: "iOS", architecture: "arm64", cves: [], product_version: "127.0.2651.73", artifacts: [], published_time: "2024-07-25T20:11:00", expected_expiry_date: "2024-10-25T20:11:00" }] }]
[2024-07-30T19:09:05.434Z TRACE] Releases: [Release { release_id: 78210, platform: "Linux", architecture: "x64", cves: ["CVE-2024-38156", "CVE-2024-39379", "CVE-2024-5839", "CVE-2024-7000", "CVE-2024-7003", "CVE-2024-5493", "CVE-2024-38103", "CVE-2024-5499", "CVE-2024-6999", "CVE-2024-5497", "CVE-2024-6994", "CVE-2024-6778", "CVE-2024-6775", "CVE-2024-7001", "CVE-2024-6989", "CVE-2024-6993"], product_version: "127.0.2651.74", artifacts: [], published_time: "2024-07-25T17:26:00", expected_expiry_date: "2024-10-25T17:26:00" }]
[2024-07-30T19:09:05.434Z ERROR] Unable to discover edge beta in online repository

You can check by parsing the JSON response of this endpoint:

https://edgeupdates.microsoft.com/api/products/

Using an beautifier, we can see 0 artifacts for Edge beta in Linux:

image

This way, Selenium Manager is unable to manage it since there is no beta downloadable artifact, according to the Edge API.

@lprimak
Copy link
Author

lprimak commented Jul 30, 2024

Are there any other releases that SM can fall back to?

@diemol
Copy link
Member

diemol commented Jul 31, 2024

There is no SM release you can fall back on because it is not an SM issue. For some reason, the API endpoint MS provides is returning different data.

This needs to be reported to MS, can you please help us with that?

A workaround for now would be to install the browser with the operating system package utilities.

@diemol diemol added the G-msedgedriver Requires fixes in MSEdgeDriver label Jul 31, 2024
Copy link

Hi, @lprimak.
This issue has been determined to require fixes in MSEdgeDriver
or in the IE Mode in Edge.

You can see if the feature is passing in the Web Platform Tests.

If it is something new, please create an Issue with the MSEdgeDriver team.

Feel free to comment the issues that you raise back in this issue. Thank you.

@lprimak
Copy link
Author

lprimak commented Aug 1, 2024

@diemol Please reopen this issue. I promise I'll close it promptly when a solution is found and / if the report with MS is filed. Thank you.

This is definitely not an Edge Driver issue, but Selenium Manager and/or Microsoft Edge API issue

@diemol
Copy link
Member

diemol commented Aug 1, 2024

Why? It is an issue on the Microsoft Edge API results, you can see there are no artifacts for Linux https://edgeupdates.microsoft.com/api/products, and the version they mention has no Linux artifacts.

Selenium Manager can't do magic here, we rely on their API.

@bonigarcia
Copy link
Member

I reported this problem here MicrosoftEdge/EdgeWebDriver#159 (although I am not sure if this is the right tracker for this kind of issues).

@pvpete
Copy link

pvpete commented Aug 8, 2024

Surprised no one else is running into this?

Copy link

github-actions bot commented Sep 7, 2024

This issue has been automatically locked since there has not been any recent activity since it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Sep 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
G-msedgedriver Requires fixes in MSEdgeDriver I-logging Applied to issues where logging information would help troubleshoot I-question Applied to questions. Issues should be closed and send the user to community resources.
Projects
None yet
Development

No branches or pull requests

5 participants