Selenium: Unexpected error launching IE. Browser zoom level was set to 122%. It should be set to 100% Selenium: Unexpected error launching IE. Browser zoom level was set to 122%. It should be set to 100% selenium selenium

Selenium: Unexpected error launching IE. Browser zoom level was set to 122%. It should be set to 100%


DesiredCapabilities caps = DesiredCapabilities.internetExplorer();caps.setCapability("ignoreZoomSetting", true);aDriver = new InternetExplorerDriver(caps);

Fixed the issue.


This is working fine for me. Ingore that zoom level.

private static InternetExplorerOptions IeSettings()        {            var options = new InternetExplorerOptions();            options.IgnoreZoomLevel = true;            return options;        }public static IWebDriver ieDriver = new InternetExplorerDriver(IeSettings());


DesiredCapabilities has been deprecated. The official way to do this now is to use InternetExplorerOptions. When adding these two lines, be sure that you are passing it as an argument when instantiating the driver.

InternetExplorerOptions capabilities = new InternetExplorerOptions();capabilities.ignoreZoomSettings();driver = new InternetExplorerDriver(capabilities);