selenoid icon indicating copy to clipboard operation
selenoid copied to clipboard

Internet Explorer with out docker | Protected Mode settings are not the same for all zones

Open arunganesh-a opened this issue 3 years ago • 1 comments

Hi,

When we run internet explorer directly with out container, with the following capabilities.

DesiredCapabilities cap = DesiredCapabilities.internetExplorer(); cap.setBrowserName("internet explorer"); cap.setVersion("11"); cap.setCapability(InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS,true);

Getting the following error:

Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: 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.

Generally when we are using cap.setCapability(InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS,true); the protected mode settings are ignored in selenium. Need help to sort this out

Thanks in advance,

arunganesh-a avatar May 19 '21 17:05 arunganesh-a

@arunganesh-a you need to go to IE settings and set Protected mode to the same value for all zones. This prerequisite is described in IEDriver documentation.

vania-pooh avatar May 20 '21 09:05 vania-pooh

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jan 23 '24 01:01 github-actions[bot]