How to run Selenium tests on IE using IE Driver?
On This Page What is Selenium IE Driver?June 02, 2026 · 5 min read · Tool Comparison
Chrome dominates orbicular browser usage, but Internet Explorer (IE) remains in use, peculiarly within enterprises and bequest systems. Historical data shows IE once held about 7 % of desktop usage, largely due to acquaintance and compatibility with older applications. Despite its decline, IE ’ s presence in certain environments makes it all-important for QA teams to test and see covering compatibility where it & # 8217; s still required. How to run Selenium tests on Internet Explorer (IE) expend the IE Driver? This article explains how QA professionals can automate testing for web applications on the Internet Explorer browser expend the Selenium IE Driver. The Selenium IE Driver (also known as Selenium Internet Explorer Driver) is a stand-alone server that implements the WebDriver protocol. This server acts as a link between Selenium playscript and Internet Explorer. Note: It is important for QAs to download the IE driver compatible with their workings environment (32 bit or 64 bit). Microsoft formally began phasing out Internet Explorer in favor of, its modern, Chromium-based browser, to provide better speeding, protection, and web compatibility. Support for IE 11 ended for most Windows versions in June 2022, with Microsoft encouraging users to switch to Edge. To ease the passage for initiative relying on legacy web apps,Edge includes an & # 8220; IE Mode & # 8221;, which allows users to run sr. sites that require Internet Explorer within the Edge browser itself. This approach control continued compatibility while gradually moving users toward a more modern and secure browse environment. Read More: Before using theSelenium IE Driver, it & # 8217; s important to guarantee your scheme meets the required configurations, as Internet Explorer automation has several unique limitations and requirement: Pro tip: Tools like SUSA can handle this autonomously — upload your app and get results without writing a single test script. System Requirements: At this point, you have completed configure your IE Driver. Now let ’ s take a simple scenario that will excuse how to launch the IE browser in Selenium and navigate to a specific website. In this scenario, we will automatize three simple steps: Note:For automating specific test scenario, one needs to interact with respective web-elements like text boxful, buttons, etc. To do so, one must know how to situate these elements. To translate how to locate elements in, touch to this guidebook on. Now let ’ s codification the above scenario. When the above script is executed, the InternetExplorerDriver launches the IE browser, navigate to the Google website, and enters “ BrowserStack ” as the search query in the search box. Also read: Although themarket partof Internet Explorer might do it seem like one can avoid testing web-apps on IE, that ’ s not the case. As a line owner, one must leave no rock unturned to provide to possible customers. Optimizing web-applications for IE ensures that business are going the extra mile to supply a truly inclusive experience. This help organizations launch their credibility and addition gross flow. offers robust support for testing site on Internet Explorer through both and platforms. With BrowserStack Live, QA teams can manually screen websites on real Windows machines lead various variation of IE, enabling real-time interaction, inspection, and debugging without the need for local apparatus. For , BrowserStack Automateallows user to run Selenium test cortege on real IE browsers hosted in the cloud. This obviate the complexity of configuring the IE Driver locally and supports parallel test execution. It also provides elaborate logarithm, screenshots, and picture recordings for efficient debugging. Running Selenium tests on Internet Explorer using the IE Driver is essential for ensuring compatibility with legacy scheme, especially in enterprise environments. Despite IE & # 8217; s declining usage, some organizations keep to rely on it due to internal dependencies and long-standing infrastructure. By properly configuring the IE Driver, handling its known limitations, and following best practices, QA teams can effectively automate their examination on IE. For a more aerodynamic experience, platforms like offer real device and browser support for Internet Explorer, removing the motive for complex local apparatus and control accurate test answer across existent user conditions. # Ask-and-Contributeabout this topic with our Discord community. Upload your APK or URL. SUSA explores like 10 real users — finds bugs, accessibility violations, and security issues. No scripts needed. Upload your APK or URL. SUSA explores like 10 real users — finds bugs, accessibility violations, and security issues. No scripts.How to run Selenium tests on IE using IE Driver?
Overview
What is Selenium IE Driver?
Transformation from Internet Explorer to Microsoft Edge
IE Driver System Requirements and Compatibility
Steps to Configure the IE Driver
Refer to the sampling codification snippet below:// Defining System Property for the IEDriver System.setProperty (`` webdriver.ie.driver '', `` D: IE Driver ServerIEDriverServer.exe ''); // Instantiate a IEDriver course. WebDriver driver=new InternetExplorerDriver ();
How to launch the IE Driver in Selenium?
import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.ie.InternetExplorerDriver; public class IEexample {public static void main (String [] args) {//Setting system property of InternetExplorerDriver System.setProperty (`` webdriver.ie.driver '', `` D: IE Driver ServerIEDriverServer.exe ''); //Creating an object of InternetExplorerDriver WebDriver driver=new InternetExplorerDriver (); driver.manage () .window () .maximize (); //Deleting all the cookies driver.manage () .deleteAllCookies (); //Specifiying pageLoadTimeout and Implicit expect driver.manage () .timeouts () .pageLoadTimeout (40, TimeUnit.SECONDS); driver.manage () .timeouts () .implicitlyWait (30, TimeUnit.SECONDS); //launching the specified URL driver.get (`` https: //www.google.com/ ''); //Locating the constituent utilise name locator for the text box driver.findElement (By.name (`` q '')) .sendKeys (`` BrowserStack ''); //name locater for google search push WebElement searchIcon = driver.findElement (By.name (`` btnK '')); searchIcon.click ();}}Conclusion
Related Guides
Automate This With SUSA
Test Your App Autonomously