I'm launch Microsoft Edge in IE mode using Selenium Java.
Can someone help me with the required configuration settings?
I'm launch Microsoft Edge in IE mode using Selenium Java.
Can someone help me with the required configuration settings?
To launch Microsoft Edge browser in IE mode and navigate to a website e.g. http://www.bing.com
you can use the following configuration and settings:
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.ie.InternetExplorerDriver;
import org.openqa.selenium.ie.InternetExplorerOptions;
public class IEDriverSample {
public static void main(String[] args) {
InternetExplorerOptions ieOptions = new InternetExplorerOptions();
ieOptions.attachToEdgeChrome();
ieOptions.withEdgeExecutablePath("C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe");
WebDriver driver = new InternetExplorerDriver(ieOptions);
driver.get("http://www.bing.com");
}
}