Internet Explorer Unexpected Error
Contents |
Sign in Pricing Blog Support Search GitHub This repository Watch 77 Star 91 Fork 87 SeleniumHQ/selenium-google-code-issue-archive org.openqa.selenium.remote.sessionnotfoundexception: unexpected error launching internet explorer Code Issues 596 Pull requests 0 Projects 0 Pulse Graphs
Org.openqa.selenium.remote.sessionnotfoundexception Ie
Unexpected error launching Internet Explorer. Protected Mode must be set to the same value #1795 Closed selenium webdriver internet explorer protected mode lukeis opened this Issue Mar 2, 2016 · 66 comments Projects None yet Labels Priority-Medium Restrict-AddIssueComment-Commit Status-WontFix Type-Defect Milestone No milestone Assignees lukeis unexpected error launching internet explorer browser zoom level was set to 1 participant Selenium member lukeis commented Mar 2, 2016 Originally reported on Google Code with ID 1795 Using Selenium 2.0rc2, I'm seeing the following exception when trying to run tests using IE: Caused by: org.openqa.selenium.WebDriverException: Unexpected error launching Internet Explorer. Protected Mode must be set to the same value (enabled or disabled)
Introduce_flakiness_by_ignoring_security_domains
for all zones. (WARNING: The server did not provide any stacktrace information) System info: os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.6.0_25' Driver info: driver.version: InternetExplorerDriver at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:131) at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:105) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:409) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:103) at org.openqa.selenium.ie.InternetExplorerDriver.setup(InternetExplorerDriver.java:104) at org.openqa.selenium.ie.InternetExplorerDriver.
360 games PC games introduceinstabilitybyignoringprotectedmodesettings Windows games Windows phone games Entertainment All Entertainment introduce_flakiness_by_ignoring_security_domains c# Movies & TV Music Business & Education Business Students & educators
Ignoreprotectedmodesettings
Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security Internet https://github.com/seleniumhq/selenium-google-code-issue-archive/issues/1795 Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies & TV Devices & Xbox All Microsoft devices Microsoft Surface All Windows PCs & tablets PC accessories Xbox & games Microsoft Lumia All https://support.microsoft.com/en-us/kb/187772 Windows phones Microsoft HoloLens For business Cloud Platform Microsoft Azure Microsoft Dynamics Windows for business Office for business Skype for business Surface for business Enterprise solutions Small business solutions Find a solutions provider Volume Licensing For developers & IT pros Develop Windows apps Microsoft Azure MSDN TechNet Visual Studio For students & educators Office for students OneNote in classroom Shop PCs & tablets perfect for students Microsoft in Education Support Sign in Cart Cart Javascript is disabled Please enable javascript and refresh the page Cookies are disabled Please enable cookies and refresh the page CV: {{ getCv() }} English (United States) Terms of use Privacy & cookies Trademarks © 2016 Microsoft
be down. Please try the request again. Your cache administrator is webmaster. Generated Wed, 19 Oct 2016 00:43:47 GMT by s_nt6 (squid/3.5.20)
error while running a basic webdriverexampleListening on port 3867Exception in thread "main" org.openqa.selenium.WebDriverException:Unexpected error launching Internet Explorer. Protected Mode settings arenot the same for all zones. Enable Protected Mode must be set to the samevalue (enabled or disabled) for all zones. (WARNING: The server did notprovide any stacktrace information)Command duration or timeout: 1.43 secondsBuild info: version: '2.25.0', revision: '17482', time: '2012-07-1821:09:54'System info: os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1',java.version: '1.6.0_23'Driver info: driver.version: InternetExplorerDriverSession ID: a2151c7a-43b3-479d-9db7-0d23a6ce680aat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(UnknownSource)at java.lang.reflect.Constructor.newInstance(Unknown Source)atorg.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:188)atorg.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)atorg.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:498)atorg.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:182)atorg.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:167)atorg.openqa.selenium.ie.InternetExplorerDriver.startSession(InternetExplorerDriver.java:133)atorg.openqa.selenium.ie.InternetExplorerDriver.setup(InternetExplorerDriver.java:106)atorg.openqa.selenium.ie.InternetExplorerDriver.(Basics.java:20)I have found the soultion in internet to do the following steps.Steps:-1. launch IE2. Open "Internet Options".3. Click on the "Security".4. verify that by Internet is selected.5. Unchecked the "Enable Protected Mode" option.6. Repeat step number 5 for "Local Intranet" "Trusted Sites" & "Restrictedsites".But in my office, i am