Microsoft Webriver doesn't launch Edge via Selenium, Code written in JAVA

Not reproducible Issue #14827903

Details

Created
Nov 26, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Code -

System.setProperty(“webdriver.edge.driver","C:\\Marionette\MicrosoftWebDriver.exe”);
WebDriver driver5 = new EdgeDriver(); <—This command is supposed to launch a new edge browser, which it is not currently

Error Shown in Eclipse IDE is below -
SEVERE: org.apache.commons.exec.ExecuteException: Process exited with an error: -1073741512 (Exit value: -1073741512)
Exception in thread “main” org.openqa.selenium.WebDriverException: Timed out waiting for driver server to start.
Build info: version: '3.6.0’, revision: '6fbf3ec767’, time: ‘2017-09-27T16:15:26.402Z’
System info: host: 'ADMIN-PC’, ip: '192.168.1.7’, os.name: 'Windows 10’, os.arch: 'x86’, os.version: '10.0’, java.version: ‘1.8.0_151’
Driver info: driver.version: EdgeDriver
at org.openqa.selenium.remote.service.DriverService.waitUntilAvailable(DriverService.java:192)
at org.openqa.selenium.remote.service.DriverService.start(DriverService.java:178)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:79)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:217)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:140)
at org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:150)
at org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:139)
at org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:96)
at packageFF.browserAutomation.main(browserAutomation.java:40)
Caused by: org.openqa.selenium.net.UrlChecker$TimeoutException: Timed out waiting for [http://localhost:14371/status] to be available after 20002 ms
at org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:100)
at org.openqa.selenium.remote.service.DriverService.waitUntilAvailable(DriverService.java:187)
… 9 more
Caused by: java.util.concurrent.TimeoutException
at java.util.concurrent.FutureTask.get(Unknown Source)
at com.google.common.util.concurrent.SimpleTimeLimiter.callWithTimeout(SimpleTimeLimiter.java:147)
at org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:75)
… 10 more

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

    • Hi,

      Are you testing with a Grid configuration or is this local to the same host as the MicrosoftWebDriver.exe?  Also, have you verified the version of the MicrosoftWebDriver.exe you are using is compatible with your OS version?  I double click the exe to make sure it runs as a quick test for compatibility.

      Can you provide your OS release version and the version of the MicrosoftWebDriver.exe you are using?

      Steve

    • Microsoft Edge Team

      Changed Status to “Not reproducible”

    • Greetings sir,

      I am not testing with Grid configuration.
      OS release version - 1709 (OS build - 16299.125) Edition - Windows 10 Pro
      Version of MicrosoftWebDriver.exe - 10.0.14393.0

      On double clicking the MicrosoftWebDriver.exe following error is seen -

      MicrosoftWebDriver.exe - Ordinal Not Found

      The ordinal 530 could not be located in the dynamic link library

    • If MicrosoftWebDriver.exe does not run properly by double clicking, I.e. running it directly, that means that version is not compatible with your Windows version.  Can you verify your Windows 10 version matches the version from the download page?

      To get your extended Windows 10 version:  Win + S and type ‘winver’ without the quotes and hit enter.

      https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/

      I see in the logs that the MicrosoftWebDriver version is for 14393.  Updating to the 16299 should correct this issue.

      https://download.microsoft.com/download/D/4/1/D417998A-58EE-4EFE-A7CC-39EF9E020768/MicrosoftWebDriver.exe

      Steve

    You need to sign in to your Microsoft account to add a comment.

    Sign in