I have various Selenium tests running in Edge Browser.
In versions of Edge prior to 18, you can download the matching version of "MicrosoftWebDriver.exe" and invoke the driver from Java in this way:
System.setProperty( "webdriver.edge.driver", driversPath + "MicrosoftWebDriver.exe" );
WebDriver driver = new EdgeDriver();
driver.get( URL );
But with Edge 18 I have installed the Edge Driver which is standalone (it's explained at Selenium - Java : Microsoft Edge automation browser (Windows 10)), but my Java code doesn't work with this driver.
How can I invoke this Edge Driver from Java?
Aucun commentaire:
Enregistrer un commentaire