Selenium automation with Edge in Internet Explorer mode

Automating with Selenium and Edge in IE compatibility mode.


This robot demonstrates how to run your Edge browser on a Windows machine in IE mode. This is useful for web apps that cannot run in other browsers (like Chromium Edge or Chrome) due to compatibility issues.


This was tested on Windows 10 and 11 by running the tasks below. On the system, the latest Microsoft Edge (Chromium based browser) was installed and also Internet Explorer 11 was enabled in Windows Features.

Please read more about the prerequisites and how to enable IE mode for Edge below:

Edge browser configuration for IE mode

Allow websites to use this mode Edge IE Settings

Enable button for page reload in this mode Edge IE Button


  • Open Default Edge In IE Mode: Simplest example which opens IE with the well known Open Available Browser keyword.
  • Open Custom Edge In IE Mode: Same as above, but this time you have the possibility to specify a custom MS Edge binary path along with its optional arguments.
  • Open Custom Edge In IE Mode With Capabilities: You're in full control over the arguments, capabilities and both webdriver and browser's used executables in order to fully customize the run. Since the Open Browser keyword is used here, a webdriver has to be explicitly provided. (the other tasks will automatically download and use such a webdriver executable)

Technical information

Last updated

January 19, 2023


Apache License 2.0