[🚀 Feature]: Default IE Options to use IE Mode in Edge
See original GitHub issueFeature and motivation
Microsoft is deprecating IE soon, and based on this post https://docs.microsoft.com/en-us/microsoft-edge/web-platform/ie-to-microsoft-edge-redirection, any usage of IE will be launching Edge instead.
Should IE Options to have these options by default?
ieOptions.attachToEdgeChrome();
ieOptions.withEdgeExecutablePath("C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe");
Usage example
Instead of
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");
WebElement elem = driver.findElement(By.id("sb_form_q"));
elem.sendKeys("WebDriver", Keys.RETURN);
driver.close();
}
}
Have this using IE Mode in Edge by default.
public class IEDriverSample {
public static void main(String[] args) {
WebDriver driver = new InternetExplorerDriver(new InternetExplorerOptions());
driver.get("http://www.bing.com");
WebElement elem = driver.findElement(By.id("sb_form_q"));
elem.sendKeys("WebDriver", Keys.RETURN);
driver.close();
}
}
Issue Analytics
- State:
- Created a year ago
- Comments:9 (7 by maintainers)
Top Results From Across the Web
How to enable IE mode on Microsoft Edge
Click the Settings and More (ellipsis) button on the top-right corner. Select the Settings option. Click on Default browser. Under the “Internet ......
Read more >How to enable IE Mode on Microsoft Edge - Pureinfotech
Enable IE mode on Edge by opening Settings > Default browser. ... The feature is known as “IE Mode” and has been designed...
Read more >How to use Internet Explorer Mode in Microsoft Edge - PCWorld
To use Internet Explorer Mode in Edge, launch Edge and click the “Ellipses” button in the top-right corner of the window. In the...
Read more >How to use Internet Explorer mode in the Microsoft Edge ...
Short guide · Click on the Options button in the top-right corner of the Edge browser and select Settings. · Click on Default...
Read more >setup vpn premium account - Alakadim
The Microsoft Edge setup guide will help you configure Enterprise Site ... to use IE mode, review and configure important security features, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This has been merged for next release of IE Driver
Ok, we decided that we should not change the bindings code if #10938 works as expected. If IEDriver automatically redirects to Edge on the Machine, then IE Driver will use Edge by default without the user needing to specify anything in capabilities.
If IEDriver and Edge are both installed, the current options will continue to work for the time being. At some point I think IEDriver will stop supporting standalone IE entirely.
I’ll keep this open in case the PR isn’t merged and we need another solution.