java - Webdriver MS Edge browser does not get URL -


i tried navigate url ms edge browser giving me error. environment follows: windows: 10 64x pro. browser: ms edge 25.10586.0.0 selenium webdriver: 2.48.2

import org.openqa.selenium.webdriver; import org.openqa.selenium.edge.edgedriver;  public class edgebrowser {    public static void main(string[] args) {      system.setproperty("webdriver.edge.driver",             "c:\\program files (x86)\\microsoft web driver\\microsoftwebdriver.exe");      webdriver driver = new edgedriver();     driver.get("http://www.google.com");    } } 

ms edge browser opens not navigate google.com , received following error

received request http://localhost:17347/session

existing microsoft edge process (pid: 64400) terminated forcibly.

waiting new request...

received request http://localhost:17347/shutdown

stopping server.

exception in thread "main" org.openqa.selenium.remote.sessionnotfoundexception: null (warning: server did not provide stacktrace information)

command duration or timeout: 6.79 seconds

i had same issue (if recall) , solution me install driver presented as:

for latest preview build windows insider program, install version of microsoft webdriver

listed here: webdriver microsoft edge (windows)


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

css - Can I use the :after pseudo-element on an input field? -