# Unable to open IE browser

**URL:** <https://forum.katalon.com/t/unable-to-open-ie-browser/8398>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [November 29, 2017, 2:10pm UTC](https://forum.katalon.com/t/unable-to-open-ie-browser/8398 "2017-11-29T14:10:27Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sreenivasulu](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@Sreenivasulu](https://forum.katalon.com/u/Sreenivasulu)\
**Post date:** [November 29, 2017, 2:10pm UTC](https://forum.katalon.com/t/unable-to-open-ie-browser/8398/1 "2017-11-29T14:10:27Z")

</div>

Hello,

I’m getting an error while executing my tests with IE in Katalon. Root cause:

Test Cases/LoginTest FAILED because (of) Unable to open browser (Root cause: 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.

Driver info: driver.version: CInternetExplorerDriver  
remote stacktrace: )

Unfortunately, I can’t change setting for all zones. How can I execute my tests in IE without changing any settings in internet options of IE.

OS: Win 7  
IE: 11

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![nhi](https://avatars.discourse-cdn.com/v4/letter/n/d2c977/32.png) [@nhi](https://forum.katalon.com/u/nhi)\
**Post date:** [December 14, 2017, 10:01am UTC](https://forum.katalon.com/t/unable-to-open-ie-browser/8398/2 "2017-12-14T10:01:27Z")

</div>

Hello,  
In this case, I think you should custom your IE driver to ignore setting for Protected Mode.  
You could see the sample code here:

> import org.openqa.selenium.WebDriver  
> import org.openqa.selenium.ie.InternetExplorerDriver;  
> import org.openqa.selenium.remote.DesiredCapabilities
> 
> System.setProperty(“webdriver.ie.driver”, “your\_iedriver\_path\\IEDriverServer.exe”)  
> DesiredCapabilities dc = DesiredCapabilities.internetExplorer()  
> dc.setCapability(“ignoreProtectedModeSettings”, true)  
> WebDriver IEdriver = new InternetExplorerDriver(dc);

The IEDriver path in Katalon tool: …\Katalon\_Studio\_Windows\_64-5.2.0.1\configuration\resources\drivers\iedriver\_win64

Reference is get from this blog: [http://jimevansmusic.blogspot.in/2012/08/youre-doing-it-wrong-protected-mode-and.html](http://jimevansmusic.blogspot.in/2012/08/youre-doing-it-wrong-protected-mode-and.html "Link: http://jimevansmusic.blogspot.in/2012/08/youre-doing-it-wrong-protected-mode-and.html")

---

<div class="post-metadata">

**Author:** ![nikola](https://avatars.discourse-cdn.com/v4/letter/n/a88e57/32.png) [@nikola](https://forum.katalon.com/u/nikola)\
**Post date:** [February 7, 2018, 8:09am UTC](https://forum.katalon.com/t/unable-to-open-ie-browser/8398/3 "2018-02-07T08:09:47Z")

</div>

Hello! For the correct operation of IE 11, windows 10, under the katalon Studio it is necessary to make the settings. After these settings, everything worked for me. Project - Setings - Execution -Default - Web UI - IE - +Add name = ignoreProtectedModeSettings , type= Boolean, value = true

---

<div class="post-metadata">

**Author:** ![Shruti\_Saxena](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@Shruti\_Saxena](https://forum.katalon.com/u/Shruti_Saxena)\
**Post date:** [March 8, 2018, 1:08am UTC](https://forum.katalon.com/t/unable-to-open-ie-browser/8398/4 "2018-03-08T01:08:06Z")

</div>

> @nikola said:  
> Hello! For the correct operation of IE 11, windows 10, under the katalon Studio it is necessary to make the settings. After these settings, everything worked for me. Project - Setings - Execution -Default - Web UI - IE - +Add name = ignoreProtectedModeSettings , type= Boolean, value = true

Hi Nikola,  
Thanks for your answer, i have added settings as per your suggestion and i am able to open IE browser however it is not setting text to textBox. Do i need to add desired capabilities and where to add this?

Thanks in advance,  
Shruti

---

<div class="post-metadata">

**Author:** ![Shruti\_Saxena](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@Shruti\_Saxena](https://forum.katalon.com/u/Shruti_Saxena)\
**Post date:** [March 8, 2018, 1:10am UTC](https://forum.katalon.com/t/unable-to-open-ie-browser/8398/5 "2018-03-08T01:10:51Z")

</div>

I am facing opening browser issue in Safari and Microsoft edge also. need suggestions, below is log for safari browser.

Unable to open browser with url: ‘’ (Root cause: org.openqa.selenium.WebDriverException: SafariDriver requires Safari 10 running on OSX El Capitan or greater.

---

<div class="post-metadata">

**Author:** ![Shruti\_Saxena](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@Shruti\_Saxena](https://forum.katalon.com/u/Shruti_Saxena)\
**Post date:** [March 8, 2018, 1:12am UTC](https://forum.katalon.com/t/unable-to-open-ie-browser/8398/6 "2018-03-08T01:12:41Z")

</div>

> @Shruti Saxena said:
> 
> > @nikola said:  
> > Hello! For the correct operation of IE 11, windows 10, under the katalon Studio it is necessary to make the settings. After these settings, everything worked for me. Project - Setings - Execution -Default - Web UI - IE - +Add name = ignoreProtectedModeSettings , type= Boolean, value = true
> 
> Hi Nikola,  
> Thanks for your answer, i have added settings as per your suggestion and i am able to open IE browser however it is not setting text to textBox. Do i need to add desired capabilities and where to add this?
> 
> Thanks in advance,  
> Shruti

Log:  
(Root cause: org.openqa.selenium.NoSuchWindowException: Unable to find elements on closed window

---

<div class="post-metadata">

**Author:** ![Normand\_Bourget](https://avatars.discourse-cdn.com/v4/letter/n/e79b87/32.png) [@Normand\_Bourget](https://forum.katalon.com/u/Normand_Bourget)\
**Post date:** [August 17, 2018, 3:12pm UTC](https://forum.katalon.com/t/unable-to-open-ie-browser/8398/7 "2018-08-17T15:12:40Z")

</div>

Nicola’s solution worked perfectly for me.

---

<div class="post-metadata">

**Author:** ![saurabhpatwardhan](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@saurabhpatwardhan](https://forum.katalon.com/u/saurabhpatwardhan)\
**Post date:** [April 3, 2020, 10:36am UTC](https://forum.katalon.com/t/unable-to-open-ie-browser/8398/8 "2020-04-03T10:36:28Z")

</div>

This works!!!

---

<div class="post-metadata">

**Author:** ![albert.vu](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/albert.vu/32/20595_2.png) [@albert.vu](https://forum.katalon.com/u/albert.vu)\
**Post date:** [August 8, 2022, 7:32am UTC](https://forum.katalon.com/t/unable-to-open-ie-browser/8398/9 "2022-08-08T07:32:13Z")

</div>

Archived on August 8, 2022, 7:32am UTC


