


Var ieOptions = new InternetExplorerOptions() The following sample launches Microsoft Edge in IE mode, navigates to, and then searches for "WebDriver". The next section shows the complete sample, and then the subsequent sections focus on each of the main steps that are listed above. IEDriver launches Microsoft Edge and then loads your web content in IE mode. Start an instance of InternetExplorerDriver and pass it InternetExplorerOptions. To launch Microsoft Edge in IE mode with IEDriver:ĭefine InternetExplorerOptions with additional properties that point to the Microsoft Edge browser. To accomplish the same tasks using another framework, consult the documentation for your framework of choice. This article provides instructions for using the Selenium framework, but you can use any library, framework, and programming language that supports WebDriver. The following sections walk you through using Selenium to automate IE mode in Microsoft Edge. If the driver location isn't included in the PATH, you must set the driver location using the Java system property webdriver.ie.driver or some other way. The top of that page reads: "The standalone server executable must be downloaded from the Downloads page and placed in your PATH." The driver executable needs to be placed in the PATH see IE Driver Server. To configure IEDriver, Windows, and Microsoft Edge correctly, complete the requirements for Selenium's required configuration. Make sure that the version of IEDriver that you download is 4.0.0.0 or greater. To begin automating tests in IE mode in Microsoft Edge, download IEDriver. Download Internet Explorer Driver (IEDriver) For more information, read Internet Explorer 11 desktop app retirement FAQ. Starting June 15, 2022, Internet Explorer 11 will no longer be supported on certain versions of Windows 10. To learn more about IE mode, read What is Internet Explorer (IE) mode? IE mode in Microsoft Edge is a feature for organizations that still need Internet Explorer 11 for backward compatibility for legacy websites or apps. This article describes how to get started with Internet Explorer Driver (IEDriver) to automate IE mode in Microsoft Edge. If you have business-critical legacy websites or apps, you may need to test your content in Internet Explorer (IE) mode in Microsoft Edge.
