Use DevTools in Internet Explorer mode (IE mode)
Internet Explorer mode (IE mode) integrates with Microsoft Edge DevTools. IE mode allows enterprises to specify a list of websites that only work in Internet Explorer 11. When you navigate to these websites in Microsoft Edge, an instance of Internet Explorer 11 runs and renders the site in a tab.
IE mode allows enterprises to manage compatibility with technologies that are currently not compatible with any modern web browsers.
Support for the following technologies is included in IE mode:
- IE document modes.
- ActiveX controls.
- Other legacy components.
In IE mode, the rendering process is based on Internet Explorer 11. The Microsoft Edge process manager handles the lifetime of the rendering process. The rendering process is constrained to the lifetime of the tab for a specific site (or app). When a tab renders in IE mode, the IE mode indicator icon appears in the address bar for the specific tab.
IE mode is available on Windows 10 Version 1903 (May 2019 Update), and is coming to all supported Windows platforms.
Open DevTools on a tab in IE mode
The IE mode indicator icon appears in the address bar if the Enterprise admin has configured the website to appear in IE mode. To view the document mode of a website in IE mode, select the IE mode indicator icon in the address bar.
If a tab uses IE mode, the tab has the following limitations:
Some DevTools panels don't work, such as Network and Performance, because the rendering engine switches from Chromium to Internet Explorer 11.
Inspect Element isn't visible on the right-click menu.
Right-clicking and then selecting View Source launches Notepad.
Pressing F12 or Ctrl+Shift+I opens a blank instance of the Microsoft Edge DevTools and displays the following message: Developer Tools aren't available in Internet Explorer mode. To debug the page, open it in Internet Explorer 11.
If Internet Explorer isn't available on your computer, to debug the content of an IE mode tab, use IEChooser to open Internet Explorer DevTools, as follows:
In Windows, open the Run dialog. For example, press the
Windows logo key+
%systemroot%\system32\f12\IEChooser.exe, and then click OK.
In IEChooser, select the entry for the IE mode tab.
Remote debugging in IE mode
Launch Microsoft Edge with remote debugging turned on from the command-line interface. Microsoft Visual Studio, Microsoft Visual Studio Code, and other development tools typically run a command to launch Microsoft Edge. The following command launches Microsoft Edge with the remote debugging port set to
start msedge --remote-debugging-port=9222
After you launch Microsoft Edge using a command-line argument, IE mode is unavailable. You can still navigate to websites (or apps) that are otherwise displayed in IE mode. The website (or app) content renders using Chromium, not Internet Explorer 11. Parts of the webpages that rely on Internet Explorer 11, such as ActiveX controls, might not render correctly. The IE mode indicator icon doesn't appear in the address bar.
IE mode remains unavailable until you close and restart Microsoft Edge.
Replace Internet Explorer automation
If you have an existing application that uses the InternetExplorer object to automate Internet Explorer 11, but the Internet Explorer 11 desktop application isn't available, your application won't work. Internet Explorer 11 will be retired on June 15, 2022. See The future of Internet Explorer on Windows 10 is in Microsoft Edge.
Microsoft Edge doesn't support automating IE mode through the
InternetExplorer object, so applications that rely on this object will need to be updated, by using one of the recommended alternatives below. Applications that use the WebBrowser control will continue to work, and won't be affected by the removal of Internet Explorer 11.
If your automation application doesn't require IE mode for the website (or app) content to function correctly, we recommend updating your application to use Microsoft Edge instead of Internet Explorer 11. Many available automation tools support Microsoft Edge, including WebDriver and Playwright.
- To learn more about automating Microsoft Edge using WebDriver, see Use WebDriver to automate Microsoft Edge.
- To learn more about using Playwright, see Use Playwright to automate and test in Microsoft Edge.
Applications that require IE mode for the website (or app) content to function correctly should use the
WebBrowser control. The
WebBrowser control uses the Internet Explorer platform (MSHTML/Trident) to render web content, and will work even if the Internet Explorer 11 desktop application isn't available.
Submit and view feedback for