...
When running a Charlotte task that uses internet explorer as the browser, it fails with the exception "org.openqa.selenium.remote.SessionNotFoundException: Unexpected error launching Internet Explorer. Protected Mode settings are not the same for all zones. Enable Protected Mode must be set to the same value (enabled or disabled) for all zones. (WARNING: The server did not provide any stacktrace information)"
Code Block |
---|
Started InternetExplorerDriver server (64-bit)
2.39.0.0
Listening on port 17143
[INFO] Attempting bi-dialect session, assuming Postel's Law holds true on the remote end
[INFO] Falling back to original OSS JSON Wire Protocol.
[INFO] Falling back to straight W3C remote end connection
[INFO] Exit code: 1
org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{ensureCleanSession=true, browserName=internet explorer, version=, platform=WINDOWS}], required capabilities = Capabilities [{}]
Build info: version: '3.0.1', revision: 'unknown', time: 'unknown'
System info: host: 'WIN-NBU2QV4TR4V', ip: '172.30.3.132', os.name: 'Windows Server 2008 R2', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_65'
Driver info: driver.version: InternetExplorerDriver
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:91)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:141)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:601)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:241)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:227)
at org.openqa.selenium.ie.InternetExplorerDriver.run(InternetExplorerDriver.java:180)
at org.openqa.selenium.ie.InternetExplorerDriver.<init>(InternetExplorerDriver.java:172)
at org.openqa.selenium.ie.InternetExplorerDriver.<init>(InternetExplorerDriver.java:160)
at jp.vmi.selenium.webdriver.IEDriverFactory.newInstance(IEDriverFactory.java:50) |
Solution
Set the "Enable Protected Mode" to the same value for all zones
...
Page Properties | |||
---|---|---|---|
| |||
|