openBrowser function doesn't work from 5.10.1 update

Hello,

We have somewhere around 50 test cases that ran fine up until the 5.10.1 update. After 5.10.1 update all test cases fail on the same step and that step is openBrowser function. The message differs from browser to browser.

For firefox we get:

Unable to open browser with url: ‘’ (Root cause: org.openqa.selenium.WebDriverException: connection refused
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘', ip: '’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: driver.version: CGeckoDriver

And for Chrome we get:

Unable to open browser with url: ‘’ (Root cause: org.openqa.selenium.WebDriverException: unknown error: unable to discover open pages
(Driver info: chromedriver=2.43.600210 (68dcf5eebde37173d4027fa8635e332711d2874a),platform=Windows NT 10.0.17134 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 60.93 seconds
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘', ip: '’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: driver.version: CChromeDriver)

Also it is worth noting that tests fail every time when running from console mode. When running from Katalon Studio IDE it can happen that tests will pass.

We have tried to run the same test cases on Katalon Studio 5.8.6 and they worked without a problem.
This leads us to believe that there is something wrong with the drivers. Should we change them, and if so what versions of drivers should we put?

Best regards

Are you using the latest versions of Chrome and Firefox?

This kind of issue normally is on the mismatch between the browser and its driver. The safe option is upgrade them both to the latest version. https://docs.katalon.com/katalon-studio/docs/update-or-replace-web-browser-drivers-and-selenium.html

1 Like

Thank you for such a fast replies

Updates are enabled but I can’t be 100% sure what versions of Chrome and Firefox are used on server. As soon as I can connect to server I will check the versions and update both drivers and browsers to the latest versions and get back to you.

Is it necessary to update the selenium as well?

No, I do not think that we should update the selenium.

I have updated the following:
Chrome: Version 71.0.3578.98 (Official Build) (64-bit)
Firefox: 64.0.2 (64-Bit)
Chrome DRIVER: Latest Release: ChromeDriver 2.45 (32-bit)
GeckoDriver: v0.23.0 (64-bit)

The problem is still there.

I have tried to add the whole Katalon folder as exception to virus scanning but that didn’t make a difference since Katalon is in program files folder already

Since the problem occurs only in console execution here is the example of command that is used to call a test suit

katalon -consoleLog -noSplash -runMode=console -projectPath=“myProjectPath” -retry=1 -testSuitePath=“Test Suites/My suite” -browserType=“Firefox” -executionProfile=“default” -reportFolder=“MyReportFolder” -reportFileName=“ReportName”

Hi, i have same problem, openBrouser function doesn’t work from 5.10.1.1. I updated the Selenium and Chromedriver but not start the test. :frowning:

Browser Chrome: Versión 71.0.3578.98 (Build oficial) (64 bits)

01-16-2019 04:28:36 PM openBrowser("")

Elapsed time: 1,296s

openBrowser("") FAILED.
Reason:
com.kms.katalon.core.exception.StepFailedException: Unable to open browser with url: '' (Root cause: org.openqa.selenium.WebDriverException: unknown error: failed to write automation extension zip
  (Driver info: chromedriver=2.45.615291 (ec3682e3c9061c10f26ea9e5cdcf3c53f3f74387),platform=Windows NT 6.1.7601 SP1 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 67 milliseconds
Build info: version: '3.9.1', revision: '63f7b50', time: '2018-02-07T22:42:28.403Z'
System info: host: 'xxxx', ip: 'xx.xx.xx.xx', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_181'
Driver info: driver.version: CChromeDriver)

Regards.

By downloading the older version (5.9) the problem was fixed but just for a short period of time. After ~2 days of using older version, we again started to encounter same problem

Ejecute file “eclipsec”, work again openBrowser!! :smiley:

You solution worked for me.Can you explain your solution further?