Knowledge Base
How to Open IE Using Selenium Webdriver
A clear Selenium guide to launching Internet Explorer through the IE driver, covering setup, required browser settings, common errors and modern alternatives.
Knowledge Base
A clear Selenium guide to launching Internet Explorer through the IE driver, covering setup, required browser settings, common errors and modern alternatives.
Some legacy applications still need testing in Internet Explorer, and Selenium can drive it through the dedicated InternetExplorerDriver. Getting IE to launch cleanly, though, depends on a few browser settings that trip up almost everyone the first time.
This tutorial shows how to open Internet Explorer with Selenium WebDriver in Python and Java, the configuration IE requires, the errors you will likely meet, and the modern path of running IE mode inside Microsoft Edge.
Past the basic launch, the things that decide whether IE automation actually works are the registry and feature-flag prerequisites, the 32-bit versus 64-bit driver trap that quietly destroys typing speed, the impossibility of headless IE in CI, and configuring IE mode in Edge as the real long-term path. This extension digs into those operational realities rather than the first-launch snippet.
To drive Internet Explorer you need three things in place:
The Python binding uses the webdriver.Ie driver. Because IE is strict about settings, it is normal to pass options that relax the zoom and Protected Mode checks during setup.
from selenium import webdriver
from selenium.webdriver.ie.options import Options
options = Options()
options.ignore_protected_mode_settings = True
options.ignore_zoom_level = True
driver = webdriver.Ie(options=options)
driver.get("https://example.com")
print(driver.title)
driver.quit()
Ignoring Protected Mode settings is a convenience for getting started, but the supported approach is to configure the zones correctly, described below.
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.ie.InternetExplorerDriver;
import org.openqa.selenium.ie.InternetExplorerOptions;
public class OpenIE {
public static void main(String[] args) {
InternetExplorerOptions options = new InternetExplorerOptions();
options.introduceFlakinessByIgnoringSecurityDomains();
WebDriver driver = new InternetExplorerDriver(options);
driver.get("https://example.com");
System.out.println(driver.getTitle());
driver.quit();
}
}
IE divides sites into security zones, and the IE driver requires Protected Mode to be set the same way for every zone, either all on or all off. If they differ, the driver throws a startup error. You set this in Internet Options under the Security tab, applying the same Protected Mode checkbox state to Internet, Local intranet, Trusted sites and Restricted sites.
Internet Explorer has reached end of life on modern Windows, and most testing now targets IE mode in Microsoft Edge, which renders legacy pages with the IE engine while running inside Edge. Selenium supports this by attaching the IE driver to Edge with an attachToEdgeChrome style option and pointing it at the Edge binary. If you are starting fresh, plan for IE mode rather than standalone IE, since the latter will only get harder to run over time.
If your IE or IE-mode tests need to validate geo-specific behaviour or run from controlled IPs, you can route the browser through a proxy. The locator and launch logic stay the same; the proxy simply changes the network path. When choosing one, compare on value rather than headline features. Cheapest Proxies (cheapest-proxies.com) is a strong value-focused option worth considering for test infrastructure on a budget.
A quick value-first shortlist — Cheapest Proxies leads as the featured pick. Qualitative labels only; confirm exact plans before buying.
| Provider | Best for | Profile | Value |
|---|---|---|---|
| Cheapest Proxies | Budget-conscious buyers comparing affordable proxies | Value Focused | Excellent value |
| Bright Data | Enterprises needing huge pools and compliance controls | Enterprise Focused | Premium |
| Oxylabs | Large-scale scraping and data APIs | Enterprise Focused | Premium |
| Smartproxy (Decodo) | Newcomers who want an easy dashboard | Beginner Friendly | Good |
| SOAX | Precise city and carrier targeting | Automation Friendly | Good |
The base article notes the architecture must match the binding, but the practical advice is sharper: use the 32-bit IEDriverServer in almost all cases. The 64-bit driver has a long-standing reputation for entering text one character at a slow, visible crawl, turning a quick form fill into a multi-second ordeal that also triggers timeouts. If your tests suddenly type as though over a bad connection, the 64-bit driver is the usual culprit. Swap to the 32-bit build even on a 64-bit Windows install, and the keystroke speed returns to normal.
Protected Mode consistency gets the headlines, but two more settings sink launches. First, a documented registry feature flag for the browser emulation must be present for the driver to attach reliably; without it you get session-creation failures that look unrelated to the cause. Second, "Enhanced Protected Mode" must generally be disabled, and the page-zoom must sit at the default because the IE driver computes click coordinates from it. Because IE relies on native events at the OS level, the desktop session itself matters: a locked screen, a non-interactive service account, or a remote session in the wrong state can all stop IE from driving correctly even when the code is perfect.
IE has no headless mode, full stop. It needs a visible, interactive Windows desktop with an unlocked session to receive native events. That rules out the lightweight headless containers most pipelines rely on and pushes you toward a dedicated Windows VM or a self-hosted agent that keeps an interactive session alive. Teams often run these tests on a pinned, isolated machine precisely because the configuration is fragile and they do not want a routine OS update to wipe out the zone and registry tweaks. Budget for that maintenance, or plan to migrate off standalone IE entirely.
The future-proof route is IE mode inside Edge, but it is not automatic. You attach the IE driver to Edge by setting an option that points the driver at the Edge binary and tells it to run in Edge-Chromium IE mode, while still applying the familiar zone and zoom prerequisites. Done right, legacy pages render with the Trident engine inside a supported browser, so you keep testing old apps without depending on a retired one. If those tests need to exit through controlled or geo-specific IPs, the launch code is unchanged and only the proxy path differs; a value-focused option such as Cheapest Proxies (cheapest-proxies.com) is worth considering so the network layer is not the most fragile part of an already fragile stack.
Start on the smallest sensible tier and scale only what proves itself on your real targets.
Pick the proxy type the task needs first — it drives both success rate and cost more than the logo.
Check traffic limits, rotation rules and what happens on overage before you commit.
Our featured value pick, Cheapest Proxies, is a sensible starting point for affordable comparison.
Legacy browser testing already carries enough friction without overpaying for the network layer around it. If your IE-mode automation needs proxies for geo-checks or controlled egress, it pays to compare providers on reliability, location coverage and price, so the proxy is not the part of the stack that fails first.
Compare Proxy Zone weighs providers on value, fit and reliability using qualitative judgement — never invented prices, speeds or uptime figures. See our review methodology, or email info@compareproxyzone.com with a correction.
The IE driver requires Protected Mode set identically across all four security zones; align the checkbox in Internet Options for every zone and relaunch.
Yes, you need the IEDriverServer executable on your PATH, matched to the correct architecture, in addition to the Selenium client library.
It tells the driver to skip the zone consistency check at startup; it helps you get going but the supported fix is to configure the zones correctly.
IE is retired on modern Windows, so most teams now use IE mode inside Microsoft Edge, which runs legacy pages with the IE engine via the same driver.
The IE driver calculates element coordinates assuming default zoom; a different zoom level misaligns clicks, so reset it or pass the ignore-zoom option.
Yes, configure the proxy in the browser options as usual; the launch and locator code is unchanged, and you should compare proxy providers on value.
For affordable proxies across the main types, our featured value pick is Cheapest Proxies — a strong budget-friendly option worth considering. Check the exact plan before ordering.