# com.kms.katalon.core.webui.exception.BrowserNotOpenedException: Browser is not opened

**URL:** <https://forum.katalon.com/t/com-kms-katalon-core-webui-exception-browsernotopenedexception-browser-is-not-opened/8356>\
**Category:** Bug Report\
**Tags:** bugs-report, katalon-studio\
**Created:** [November 24, 2017, 3:31pm UTC](https://forum.katalon.com/t/com-kms-katalon-core-webui-exception-browsernotopenedexception-browser-is-not-opened/8356 "2017-11-24T15:31:27Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paul\_Jones](https://avatars.discourse-cdn.com/v4/letter/p/c89c15/32.png) [@Paul\_Jones](https://forum.katalon.com/u/Paul_Jones)\
**Post date:** [November 24, 2017, 3:31pm UTC](https://forum.katalon.com/t/com-kms-katalon-core-webui-exception-browsernotopenedexception-browser-is-not-opened/8356/1 "2017-11-24T15:31:27Z")

</div>

Even opening your example test suites results in this error, on my machine and that of a colleague, we’re on relatively new iMacs and MacBooks. Absolutely nothing works, and we’ve tried for hours doing everything we could find on google.

Shame, it looks like such a promising tool

---

<div class="post-metadata">

**Author:** ![William\_Richards](https://avatars.discourse-cdn.com/v4/letter/w/96bed5/32.png) [@William\_Richards](https://forum.katalon.com/u/William_Richards)\
**Post date:** [November 24, 2017, 3:33pm UTC](https://forum.katalon.com/t/com-kms-katalon-core-webui-exception-browsernotopenedexception-browser-is-not-opened/8356/2 "2017-11-24T15:33:53Z")

</div>

This is the error I’m getting on my mac with Katalon Studio version 5.1.0.1. The Katalon Automator works fine and I’ve made a test script there which works perfectly.

Test Cases/Version1 FAILED because (of) Unable to navigate to ‘[http://www.google.com](http://www.google.com)’ (Root cause: com.kms.katalon.core.webui.exception.BrowserNotOpenedException: Browser is not opened  
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’  
System info: host: ‘Williams-MacBook-Pro.local’, ip: ‘XXX.XXX.X.X’, os.name: ‘Mac OS X’, os.arch: ‘x86\_64’, os.version: ‘10.12.6’, java.version: ‘1.8.0\_102’  
Driver info: driver.version: unknown)

---

<div class="post-metadata">

**Author:** ![Pablo\_Vergara](https://avatars.discourse-cdn.com/v4/letter/p/e68b1a/32.png) [@Pablo\_Vergara](https://forum.katalon.com/u/Pablo_Vergara)\
**Post date:** [December 7, 2017, 10:53pm UTC](https://forum.katalon.com/t/com-kms-katalon-core-webui-exception-browsernotopenedexception-browser-is-not-opened/8356/3 "2017-12-07T22:53:14Z")

</div>

On Android - works like a charm  
On iPhone - not so much. Getting the following error when running the same script:

> Unable to open browser with url: ‘[https://www.google.com](https://www.google.com)’ (Root cause: java.lang.StringIndexOutOfBoundsException: String index out of range: -6)

---

<div class="post-metadata">

**Author:** ![Quang\_Do](https://avatars.discourse-cdn.com/v4/letter/q/51bf81/32.png) [@Quang\_Do](https://forum.katalon.com/u/Quang_Do)\
**Post date:** [January 17, 2018, 7:41am UTC](https://forum.katalon.com/t/com-kms-katalon-core-webui-exception-browsernotopenedexception-browser-is-not-opened/8356/4 "2018-01-17T07:41:57Z")

</div>

I met this issue as well. However, the test case is able to run next steps after changing action “Navigate to Url” to “Open Browser”.

---

<div class="post-metadata">

**Author:** ![nidhi\_mishra](https://avatars.discourse-cdn.com/v4/letter/n/48db29/32.png) [@nidhi\_mishra](https://forum.katalon.com/u/nidhi_mishra)\
**Post date:** [March 5, 2018, 6:30am UTC](https://forum.katalon.com/t/com-kms-katalon-core-webui-exception-browsernotopenedexception-browser-is-not-opened/8356/5 "2018-03-05T06:30:07Z")

</div>

I am also facing the same issue… Its carries forward the testcase but there is nothing getting loaded on to the browser and the error that i face is Webelement not found.

---

<div class="post-metadata">

**Author:** ![nidhi\_mishra](https://avatars.discourse-cdn.com/v4/letter/n/48db29/32.png) [@nidhi\_mishra](https://forum.katalon.com/u/nidhi_mishra)\
**Post date:** [March 5, 2018, 10:44am UTC](https://forum.katalon.com/t/com-kms-katalon-core-webui-exception-browsernotopenedexception-browser-is-not-opened/8356/6 "2018-03-05T10:44:52Z")

</div>

Please help. attached screenshot for clarity.

---

<div class="post-metadata">

**Author:** ![nidhi\_mishra](https://avatars.discourse-cdn.com/v4/letter/n/48db29/32.png) [@nidhi\_mishra](https://forum.katalon.com/u/nidhi_mishra)\
**Post date:** [March 5, 2018, 10:45am UTC](https://forum.katalon.com/t/com-kms-katalon-core-webui-exception-browsernotopenedexception-browser-is-not-opened/8356/7 "2018-03-05T10:45:07Z")

</div>

![](https://s3.amazonaws.com/katalon-forum/editor/jc/ppdsqa69y0uo.png "Image: https://s3.amazonaws.com/katalon-forum/editor/jc/ppdsqa69y0uo.png")

[2.png](https://s3.amazonaws.com/katalon-forum/editor/jc/ppdsqa69y0uo.png)

---

<div class="post-metadata">

**Author:** ![silvercoins](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@silvercoins](https://forum.katalon.com/u/silvercoins)\
**Post date:** [March 8, 2018, 9:49am UTC](https://forum.katalon.com/t/com-kms-katalon-core-webui-exception-browsernotopenedexception-browser-is-not-opened/8356/8 "2018-03-08T09:49:32Z")

</div>

I am also suffering from the “Browser is not opened” issue:

Unable to click on object ‘Object Repository/Page\_CuraHomepage/btn\_MakeAppointment’ (Root cause: com.kms.katalon.core.webui.exception.BrowserNotOpenedException: Browser is not opened  
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’  
System info: host: ‘removed’, ip: ‘removed’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0\_102’  
Driver info: driver.version: unknown)

I just installed Katalon Studio, activated it, then loaded the demo project “Sample Web Testing Project” and double-clicked to open “Login” test case. Then I chose “Run \> Firefox” and get that above error.

The same happens with “Run \> IE” and “Run \> Edge”… Didn’t try with Chrome, because I don’t have that browser installed.

My Firefox version is 58.0.2 (64-bit). My Windows 10 is 64-bit, Version 1607 (OS Build 14393.2068) and Katalon Studio is 64-bit version 5.3.1 Build 1.

---

<div class="post-metadata">

**Author:** ![silvercoins](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@silvercoins](https://forum.katalon.com/u/silvercoins)\
**Post date:** [March 8, 2018, 9:55am UTC](https://forum.katalon.com/t/com-kms-katalon-core-webui-exception-browsernotopenedexception-browser-is-not-opened/8356/9 "2018-03-08T09:55:30Z")

</div>

> @silvercoins said:  
> I am also suffering from the “Browser is not opened” issue

Hmm, I was able to run “Main Test Cases \> TC1\_Verify Succesful Login” and “Main Test Cases \> TC2\_Verify Succesful Appointment”. Still, the “Common Test Cases \> Login” was not able to be run. Maybe it is not supposed to be run at all, rather it is used from the Main Test Cases?

---

<div class="post-metadata">

**Author:** ![Jignesh\_Intwala](https://avatars.discourse-cdn.com/v4/letter/j/e274bd/32.png) [@Jignesh\_Intwala](https://forum.katalon.com/u/Jignesh_Intwala)\
**Post date:** [April 6, 2018, 11:48am UTC](https://forum.katalon.com/t/com-kms-katalon-core-webui-exception-browsernotopenedexception-browser-is-not-opened/8356/10 "2018-04-06T11:48:25Z")

</div>

Hello @Liam B

I am also facing this above Issue while running Headless Chrome Browser.  
Executing Script in Headless Version is the Key feature of Automation

Please Resolve this Issue ASAP.

---

<div class="post-metadata">

**Author:** ![pallavi1](https://avatars.discourse-cdn.com/v4/letter/p/f05b48/32.png) [@pallavi1](https://forum.katalon.com/u/pallavi1)\
**Post date:** [April 11, 2018, 9:42pm UTC](https://forum.katalon.com/t/com-kms-katalon-core-webui-exception-browsernotopenedexception-browser-is-not-opened/8356/11 "2018-04-11T21:42:26Z")

</div>

Hello,  
I corrected the website address and even then gets the same error.“Browser is not opened exception”.

---

<div class="post-metadata">

**Author:** ![pallavi1](https://avatars.discourse-cdn.com/v4/letter/p/f05b48/32.png) [@pallavi1](https://forum.katalon.com/u/pallavi1)\
**Post date:** [April 12, 2018, 12:46pm UTC](https://forum.katalon.com/t/com-kms-katalon-core-webui-exception-browsernotopenedexception-browser-is-not-opened/8356/12 "2018-04-12T12:46:47Z")

</div>

> pallavi said:
> 
> Hello,  
> I corrected the website address and even then gets the same error.“Browser is not opened exception”.

---

<div class="post-metadata">

**Author:** ![ralph.van.der.horst](https://avatars.discourse-cdn.com/v4/letter/r/779978/32.png) [@ralph.van.der.horst](https://forum.katalon.com/u/ralph.van.der.horst)\
**Post date:** [April 30, 2018, 8:07pm UTC](https://forum.katalon.com/t/com-kms-katalon-core-webui-exception-browsernotopenedexception-browser-is-not-opened/8356/13 "2018-04-30T20:07:52Z")

</div>

I got this error because I was intermixing testsuites where linked testcases and using the call testcase Fucntionality within the testcase where I linked one testcase into many.

So when you mix it you can call the browser twice which causes the browserNotOpenedException

you need to choose between one testcase in a testsuite (use the call testcase functionlity) or create seperate testcases

---

<div class="post-metadata">

**Author:** ![ts1](https://avatars.discourse-cdn.com/v4/letter/t/a8b319/32.png) [@ts1](https://forum.katalon.com/u/ts1)\
**Post date:** [June 2, 2018, 2:07am UTC](https://forum.katalon.com/t/com-kms-katalon-core-webui-exception-browsernotopenedexception-browser-is-not-opened/8356/14 "2018-06-02T02:07:46Z")

</div>

I’m getting this error when using a firefox derivative browser.  
This works:  
FirefoxDriver driver = new FirefoxDriver(options);  
driver.get(url)

The browser opens, the page is loaded, _but any subsequent action gives a browser not opened exception._

UPDATE:

Solved it by diggin in to the katalon source classes. needed to add  
com.kms.katalon.core.configuration.RunConfiguration.storeDriver( driver )

---

<div class="post-metadata">

**Author:** ![Bruno\_Amado](https://avatars.discourse-cdn.com/v4/letter/b/5daacb/32.png) [@Bruno\_Amado](https://forum.katalon.com/u/Bruno_Amado)\
**Post date:** [October 17, 2018, 3:30pm UTC](https://forum.katalon.com/t/com-kms-katalon-core-webui-exception-browsernotopenedexception-browser-is-not-opened/8356/15 "2018-10-17T15:30:44Z")

</div>

@ts where do you put “com.kms.katalon.core.configuration.RunConfiguration.storeDriver( driver )” I tryed “[Use different browser versions](https://docs.katalon.com/katalon-studio/docs/troubleshooting-web-automated-testing.html#use-different-browser-versions "Link: https://docs.katalon.com/katalon-studio/docs/troubleshooting-web-automated-testing.html#use-different-browser-versions")” but nothing happen in the open browser.

---

<div class="post-metadata">

**Author:** ![faizan.hameed](https://avatars.discourse-cdn.com/v4/letter/f/7bcc69/32.png) [@faizan.hameed](https://forum.katalon.com/u/faizan.hameed)\
**Post date:** [January 15, 2019, 6:42am UTC](https://forum.katalon.com/t/com-kms-katalon-core-webui-exception-browsernotopenedexception-browser-is-not-opened/8356/16 "2019-01-15T06:42:39Z")

</div>

I am also facing same issue while running Chrome Browser.

Reason:  
com.kms.katalon.core.exception.StepFailedException: Unable to navigate to… (Root cause: com.kms.katalon.core.webui.exception.BrowserNotOpenedException: Browser is not opened  
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’  
System info: host: ‘AK-SWD-0037’, ip: ‘10.250.10.90’, os.name: ‘Windows 7’, os.arch: ‘amd64’, os.version: ‘6.1’, java.version: ‘1.8.0\_181’  
Driver info: driver.version: unknown)

Highly appreciated if anybody can help…

---

<div class="post-metadata">

**Author:** ![Mat\_Cauthon](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/mat_cauthon/32/16104_2.png) [@Mat\_Cauthon](https://forum.katalon.com/u/Mat_Cauthon)\
**Post date:** [April 1, 2019, 2:39pm UTC](https://forum.katalon.com/t/com-kms-katalon-core-webui-exception-browsernotopenedexception-browser-is-not-opened/8356/17 "2019-04-01T14:39:22Z")

</div>

Also faced this error. The cause was that I had a WebDriver element declared as a variable during initialization of the class (`private WebDriver driver = DriverFactory.getWebDriver()`). I moved this line to a seperate method and the problem was fixed.

---

<div class="post-metadata">

**Author:** ![YoungNgo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/youngngo/32/15132_2.png) [@YoungNgo](https://forum.katalon.com/u/YoungNgo)\
**Post date:** [April 18, 2019, 9:56am UTC](https://forum.katalon.com/t/com-kms-katalon-core-webui-exception-browsernotopenedexception-browser-is-not-opened/8356/18 "2019-04-18T09:56:50Z")

</div>


