Firefox not working for WebUi tests

Firefox hasn’t been working in my setup for a while now using WebUI tests, it was working up until around a month ago. I’ve made sure my Firefox drivers are up to date but when running a test script I get the following error:

Caused by: org.openqa.selenium.WebDriverException: Process unexpectedly closed with status signal

The scripts are working on all of my other browsers for Edge, Chrome and Safari. Anyone know of a solution?

1 Like

kindly share full error trace

Hi @ed.lucas
it will be helpful to give a solution if you share the browser version, katalon studio version
and the exact error that you got in the logs Here.

Hi

Both versions are the latest at the time of this post. FF 122.01 and KS 8.6.8.

When I try to update my Firefox driver this is only finding an older version which I think is why this is happening but I’m not sure if others are having the same problem. This is the message while trying to update the driver:
Updating web driver…

[INFO] Using WebDriverManager to resolve firefox

[DEBUG] Detecting firefox version using online commands.properties

[DEBUG] Running command on the shell: [/Applications/Firefox.app/Contents/MacOS/firefox, -v]

[DEBUG] Result: Mozilla Firefox 122.0.1

[DEBUG] Getting driver version for firefox122 from online versions.properties

[DEBUG] Driver for firefox122 not found in online properties (using local versions.properties)

[DEBUG] The driver version for FIREFOX 122 is unknown … trying with latest

[INFO] Reading https://raw.githubusercontent.com/katalon-studio/katalon-studio/master/gecko-releases.json to seek geckodriver

[DEBUG] Driver to be downloaded geckodriver 0.34.0

[INFO] Downloading https://github.com/mozilla/geckodriver/releases/download/v0.34.0/geckodriver-v0.34.0-macos.tar.gz

[INFO] Extracting driver from compressed file geckodriver-v0.34.0-macos.tar.gz

[DEBUG] Bypass notarization requirement for geckodriver on Mac OS

[DEBUG] Running command on the shell: [xattr, -r, -d, com.apple.quarantine, /var/folders/tw/28kwszgj1rgfrnzn5t9pwxx80000gn/T/6842435615336110541/geckodriver]

[DEBUG] Result:

[DEBUG] Overriding former driver /Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/drivers/firefox_mac/geckodriver

[INFO] Driver location: /Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/drivers/firefox_mac/geckodriver

This is the full error from the console, happens on any script. This is just a basic open and close test as an example.

=============== ROOT CAUSE =====================

Caused by: org.openqa.selenium.WebDriverException: Process unexpectedly closed with status signal

For trouble shooting, please visit: https://docs.katalon.com/katalon-studio/docs/troubleshooting.html

================================================

02-14-2024 08:43:42 AM Test Cases/WebDriver test

Elapsed time: 2.653s

Test Cases/WebDriver test FAILED.

Reason:

com.kms.katalon.core.exception.StepFailedException: Unable to open browser with url: ‘’

at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:64)

at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:26)

at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.openBrowser(OpenBrowserKeyword.groovy:81)

at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.execute(OpenBrowserKeyword.groovy:67)

at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:74)

at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.openBrowser(WebUiBuiltInKeywords.groovy:64)

at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$openBrowser.call(Unknown Source)

at WebDriver test.run(WebDriver test:20)

at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)

at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)

at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:448)

at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:439)

at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:418)

at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:410)

at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:285)

at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:144)

at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:135)

at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)

at TempTestCase1707900218328.run(TempTestCase1707900218328.groovy:25)

Caused by: org.openqa.selenium.WebDriverException: Process unexpectedly closed with status signal

Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’

System info: host: ‘Eds-MBP-16-2021’, ip: ‘2a00:23c8:6200:101:2152:26ae:72f0:20f8%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.16’, java.version: ‘1.8.0_275’

Driver info: driver.version: CGeckoDriver

remote stacktrace:

at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$errorHandler$0(W3CHandshakeResponse.java:62)

at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30)

at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126)

at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128)

at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:74)

at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:136)

at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)

at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)

at com.kms.katalon.selenium.driver.CFirefoxDriver.execute(CFirefoxDriver.java:27)

at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)

at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)

at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:147)

at com.kms.katalon.selenium.driver.CFirefoxDriver.(CFirefoxDriver.java:21)

at com.kms.katalon.core.webui.driver.firefox.CGeckoDriver.(CGeckoDriver.java:12)

at com.kms.katalon.core.webui.driver.firefox.CGeckoDriver.from(CGeckoDriver.java:17)

at com.kms.katalon.core.webui.driver.DriverFactory.createNewFirefoxDriver(DriverFactory.java:708)

at com.kms.katalon.core.webui.driver.DriverFactory.startNewBrowser(DriverFactory.java:365)

at com.kms.katalon.core.webui.driver.DriverFactory.openWebDriver(DriverFactory.java:263)

at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword$_openBrowser_closure1.doCall(OpenBrowserKeyword.groovy:74)

at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword$_openBrowser_closure1.call(OpenBrowserKeyword.groovy)

at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:20)

… 17 more

Full console error below:

2024-02-14 08:43:42.015 INFO c.k.katalon.core.main.TestCaseExecutor - --------------------
2024-02-14 08:43:42.018 INFO c.k.katalon.core.main.TestCaseExecutor - START Test Cases/WebDriver test
Test Cases/WebDriver test
[:]
2024-02-14 08:43:42.579 DEBUG testcase.WebDriver test - 1: openBrowser(“”)
2024-02-14 08:43:42.831 INFO c.k.k.core.webui.driver.DriverFactory - Starting ‘Firefox’ driver
Feb 14, 2024 8:43:42 AM org.openqa.selenium.remote.DesiredCapabilities firefox
INFO: Using new FirefoxOptions() is preferred to DesiredCapabilities.firefox()
2024-02-14 08:43:42.942 INFO c.k.k.core.webui.driver.DriverFactory - Action delay is set to 0 milliseconds
1707900224085 geckodriver INFO Listening on 127.0.0.1:36773
1707900224411 mozrunner::runner INFO Running command: MOZ_CRASHREPORTER=“1” MOZ_CRASHREPORTER_NO_REPORT=“1” MOZ_CRASHREPORTER_SHUTDOWN=“1” MOZ_NO_REMOTE=“1” "/App … “–marionette” “-foreground” “-no-remote” “-profile” “/var/folders/tw/28kwszgj1rgfrnzn5t9pwxx80000gn/T/rust_mozprofileIeDwiL”
2024-02-14 08:43:44.618 ERROR c.k.k.core.keyword.internal.KeywordMain - :x: Unable to open browser with url: ‘’ (Root cause: com.kms.katalon.core.exception.StepFailedException: Unable to open browser with url: ‘’
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:64)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:26)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.openBrowser(OpenBrowserKeyword.groovy:81)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.execute(OpenBrowserKeyword.groovy:67)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:74)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.openBrowser(WebUiBuiltInKeywords.groovy:64)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$openBrowser.call(Unknown Source)
at WebDriver test.run(WebDriver test:20)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:448)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:439)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:418)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:410)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:285)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:144)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:135)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1707900218328.run(TempTestCase1707900218328.groovy:25)
Caused by: org.openqa.selenium.WebDriverException: Process unexpectedly closed with status signal
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘Eds-MBP-16-2021’, ip: ‘2a00:23c8:6200:101:2152:26ae:72f0:20f8%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.16’, java.version: ‘1.8.0_275’
Driver info: driver.version: CGeckoDriver
remote stacktrace:
at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$errorHandler$0(W3CHandshakeResponse.java:62)
at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30)
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:74)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:136)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at com.kms.katalon.selenium.driver.CFirefoxDriver.execute(CFirefoxDriver.java:27)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:147)
at com.kms.katalon.selenium.driver.CFirefoxDriver.(CFirefoxDriver.java:21)
at com.kms.katalon.core.webui.driver.firefox.CGeckoDriver.(CGeckoDriver.java:12)
at com.kms.katalon.core.webui.driver.firefox.CGeckoDriver.from(CGeckoDriver.java:17)
at com.kms.katalon.core.webui.driver.DriverFactory.createNewFirefoxDriver(DriverFactory.java:708)
at com.kms.katalon.core.webui.driver.DriverFactory.startNewBrowser(DriverFactory.java:365)
at com.kms.katalon.core.webui.driver.DriverFactory.openWebDriver(DriverFactory.java:263)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword$_openBrowser_closure1.doCall(OpenBrowserKeyword.groovy:74)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword$_openBrowser_closure1.call(OpenBrowserKeyword.groovy)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:20)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.openBrowser(OpenBrowserKeyword.groovy:81)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.execute(OpenBrowserKeyword.groovy:67)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:74)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.openBrowser(WebUiBuiltInKeywords.groovy:64)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$openBrowser.call(Unknown Source)
at Script1707838366938.run(Script1707838366938.groovy:20)
… 11 more
)
2024-02-14 08:43:44.635 ERROR c.k.katalon.core.main.TestCaseExecutor - :x: Test Cases/WebDriver test FAILED.
Reason:
com.kms.katalon.core.exception.StepFailedException: Unable to open browser with url: ‘’
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:64)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:26)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.openBrowser(OpenBrowserKeyword.groovy:81)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.execute(OpenBrowserKeyword.groovy:67)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:74)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.openBrowser(WebUiBuiltInKeywords.groovy:64)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$openBrowser.call(Unknown Source)
at WebDriver test.run(WebDriver test:20)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:448)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:439)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:418)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:410)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:285)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:144)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:135)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1707900218328.run(TempTestCase1707900218328.groovy:25)
Caused by: org.openqa.selenium.WebDriverException: Process unexpectedly closed with status signal
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘Eds-MBP-16-2021’, ip: ‘2a00:23c8:6200:101:2152:26ae:72f0:20f8%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.16’, java.version: ‘1.8.0_275’
Driver info: driver.version: CGeckoDriver
remote stacktrace:
at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$errorHandler$0(W3CHandshakeResponse.java:62)
at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30)
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:74)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:136)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at com.kms.katalon.selenium.driver.CFirefoxDriver.execute(CFirefoxDriver.java:27)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:147)
at com.kms.katalon.selenium.driver.CFirefoxDriver.(CFirefoxDriver.java:21)
at com.kms.katalon.core.webui.driver.firefox.CGeckoDriver.(CGeckoDriver.java:12)
at com.kms.katalon.core.webui.driver.firefox.CGeckoDriver.from(CGeckoDriver.java:17)
at com.kms.katalon.core.webui.driver.DriverFactory.createNewFirefoxDriver(DriverFactory.java:708)
at com.kms.katalon.core.webui.driver.DriverFactory.startNewBrowser(DriverFactory.java:365)
at com.kms.katalon.core.webui.driver.DriverFactory.openWebDriver(DriverFactory.java:263)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword$_openBrowser_closure1.doCall(OpenBrowserKeyword.groovy:74)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword$_openBrowser_closure1.call(OpenBrowserKeyword.groovy)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:20)
… 17 more

Test Cases/WebDriver test
FAILED
2024-02-14 08:43:44.680 ERROR c.k.k.core.context.internal.TestHooker - :x: com.kms.katalon.core.webui.exception.BrowserNotOpenedException: Browser is not opened
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘Eds-MBP-16-2021’, ip: ‘2a00:23c8:6200:101:2152:26ae:72f0:20f8%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.16’, java.version: ‘1.8.0_275’
Driver info: driver.version: DriverFactory$getWebDriver
at com.kms.katalon.core.webui.driver.DriverFactory.verifyWebDriverIsOpen(DriverFactory.java:1003)
at com.kms.katalon.core.webui.driver.DriverFactory.verifyWebDriver(DriverFactory.java:988)
at com.kms.katalon.core.webui.driver.DriverFactory.getWebDriver(DriverFactory.java:974)
at com.kms.katalon.core.webui.driver.DriverFactory$getWebDriver.call(Unknown Source)
at BrowserstackSetup.sampleAfterTestCase(BrowserstackSetup.groovy:46)
at BrowserstackSetup.invokeMethod(BrowserstackSetup.groovy)
at com.kms.katalon.core.context.internal.TestHooker.invokeMethod(TestHooker.java:111)
at com.kms.katalon.core.context.internal.TestHooker.lambda$3(TestHooker.java:95)
at com.kms.katalon.core.context.internal.TestHooker.invokeContextMethods(TestHooker.java:94)
at com.kms.katalon.core.context.internal.TestListenerCollector.lambda$3(TestListenerCollector.java:88)
at com.kms.katalon.core.context.internal.TestListenerCollector.handleListenerEvent(TestListenerCollector.java:85)
at com.kms.katalon.core.context.internal.ExecutionEventManager.publicEvent(ExecutionEventManager.java:36)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:315)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:144)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:135)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1707900218328.run(TempTestCase1707900218328.groovy:25)

2024-02-14 08:43:44.699 INFO c.k.katalon.core.main.TestCaseExecutor - END Test Cases/WebDriver test

1 Like

Since today my Chrome driver is also having issues in addition to the error reports I’ve listed above.

This is the message from the driver update tool

Updating web driver…

[INFO] Using WebDriverManager to resolve chrome

[DEBUG] Detecting chrome version using online commands.properties

[DEBUG] Running command on the shell: [/Applications/Google Chrome.app/Contents/MacOS/Google Chrome, --version]

[DEBUG] Result: Google Chrome 121.0.6167.184

[INFO] Using chromedriver 121.0.6167.184 (resolved driver for Chrome 121)

[INFO] Reading https://chromedriver.storage.googleapis.com/ to seek chromedriver

[DEBUG] Driver to be downloaded chromedriver 121.0.6167.184

[DEBUG] Using URL built from repository pattern: https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/121.0.6167.184/mac-x64/chromedriver-mac-x64.zip

[INFO] Downloading https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/121.0.6167.184/mac-x64/chromedriver-mac-x64.zip

[ERROR] Error HTTP 404 executing https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/121.0.6167.184/mac-x64/chromedriver-mac-x64.zip

[INFO] Clearing WebDriverManager resolution cache

[WARN] Exception writing resolution cache as a properties file java.lang.NullPointerException

[WARN] There was an error managing chromedriver 121.0.6167.184 (Error HTTP 404 executing https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/121.0.6167.184/mac-x64/chromedriver-mac-x64.zip) … trying again avoiding reading release from repository

[DEBUG] Detecting chrome version using online commands.properties

[DEBUG] Running command on the shell: [/Applications/Google Chrome.app/Contents/MacOS/Google Chrome, --version]

[DEBUG] Result: Google Chrome 121.0.6167.184

[DEBUG] Getting driver version for chrome121 from online versions.properties

[DEBUG] Driver for chrome121 not found in online properties (using local versions.properties)

[DEBUG] The driver version for CHROME 121 is unknown … trying with latest

[INFO] Reading https://chromedriver.storage.googleapis.com/ to seek chromedriver

[DEBUG] Driver to be downloaded chromedriver 114.0.5735.90

[INFO] Downloading https://chromedriver.storage.googleapis.com/114.0.5735.90/chromedriver_mac64.zip

[INFO] Extracting driver from compressed file chromedriver_mac64.zip

[DEBUG] Overriding former driver /Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/drivers/chromedriver_mac/chromedriver

[INFO] Driver location: /Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/drivers/chromedriver_mac/chromedriver

After updating Chrome no longer works either.

Error I’m getting in the console after running any test:

It seems like your Chrome or Edge Chromium Webdriver is not up to date with your current browser. Please go to Tools > Update webdrivers to upgrade and try again

Any solution I can use for this?

1 Like

Support for "Chrome for Testing" in Katalon Studio - #5 by kazurayam can you please check this once

Thanks, that post helped me resolve Chrome. but I’m still having issues using Firefox. I’m now getting a different error:

Caused by: org.openqa.selenium.WebDriverException: Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: MAC

I’ve reinstalled Firefox and made sure that the path is default yet katalon can’t seem to find it anymore. It was working several weeks ago and I haven’t changed my configuration since then so not sure what would be the cause. If anyone could help would be apreciated.

I got the same issue.

The fact

My env:

  • macOS 14.1.1
  • FireFox v125.0.3 installed at /Applications/Firefox.app/Contents/MacOS/firefox
  • Katalon Studio 9.0.0
  • I did Tools>Update WebDrivers>Firefox successfully:
Updating web driver...

[INFO] Using WebDriverManager to resolve firefox
[DEBUG] Using WebDriverManager 5.7.0
[DEBUG] Detecting firefox version using online commands.properties
[DEBUG] Running command on the shell: [/Applications/Firefox.app/Contents/MacOS/firefox, -v]
[DEBUG] Result: Mozilla Firefox 125.0.3
[DEBUG] Reading https://raw.githubusercontent.com/SeleniumHQ/selenium/trunk/common/geckodriver/geckodriver-support.json to discover geckodriver version
[INFO] Using geckodriver 0.34.0 (resolved driver for Firefox 125)
[INFO] Reading https://raw.githubusercontent.com/katalon-studio/katalon-studio/master/gecko-releases.json to seek geckodriver
[DEBUG] Driver to be downloaded geckodriver 0.34.0
[INFO] Downloading https://github.com/mozilla/geckodriver/releases/download/v0.34.0/geckodriver-v0.34.0-macos.tar.gz
[INFO] Extracting driver from compressed file geckodriver-v0.34.0-macos.tar.gz
[DEBUG] Bypass notarization requirement for geckodriver on Mac OS
[DEBUG] Running command on the shell: [xattr, -r, -d, com.apple.quarantine, /var/folders/7m/lm7d6nx51kj0kbtnsskz6r3m0000gn/T/2397137769373050400/geckodriver]
[DEBUG] Result: 
[DEBUG] Overriding former driver /Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/drivers/firefox_mac/geckodriver
[INFO] Driver location: /Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/drivers/firefox_mac/geckodriver
  • I made a test case:
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI

WebUI.openBrowser("https://katalon-demo-cura.herokuapp.com/")
WebUI.delay(1)
WebUI.closeBrowser()
  • I ran this and got the following error in the Console
2024-05-04 15:44:34.466 INFO  c.k.katalon.core.main.TestCaseExecutor   - --------------------
2024-05-04 15:44:34.474 INFO  c.k.katalon.core.main.TestCaseExecutor   - START Test Cases/TC3
2024-05-04 15:44:35.201 INFO  c.k.k.core.webui.driver.DriverFactory    - Starting 'Firefox' driver
5月 04, 2024 3:44:35 午後 org.openqa.selenium.remote.DesiredCapabilities firefox
情報: Using `new FirefoxOptions()` is preferred to `DesiredCapabilities.firefox()`
2024-05-04 15:44:35.301 INFO  c.k.k.core.webui.driver.DriverFactory    - Action delay is set to 0 milliseconds
2024-05-04 15:44:35.417 ERROR c.k.k.core.keyword.internal.KeywordMain  - ❌ Unable to open browser with url: 'https://katalon-demo-cura.herokuapp.com/' (Root cause: com.kms.katalon.core.exception.StepFailedException: Unable to open browser with url: 'https://katalon-demo-cura.herokuapp.com/'
	at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:64)
	at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:26)
	at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.openBrowser(OpenBrowserKeyword.groovy:81)
	at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.execute(OpenBrowserKeyword.groovy:67)
	at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:74)
	at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.openBrowser(WebUiBuiltInKeywords.groovy:64)
	at TC3.run(TC3:8)
	at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
	at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
	at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:448)
	at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:439)
	at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:418)
	at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:410)
	at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:285)
	at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:144)
	at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:135)
	at TempTestCase1714805069307.run(TempTestCase1714805069307.groovy:25)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Caused by: org.openqa.selenium.WebDriverException: Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: MAC
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'KAZUAKInoMacBook-Air-2.local', ip: 'fe80:0:0:0:b7:6644:43ba:592%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '14.4.1', java.version: '17.0.7'
Driver info: driver.version: CGeckoDriver
	at org.openqa.selenium.firefox.FirefoxBinary.<init>(FirefoxBinary.java:100)
	at org.openqa.selenium.firefox.FirefoxOptions.getBinary(FirefoxOptions.java:216)
	at org.openqa.selenium.firefox.FirefoxDriver.toExecutor(FirefoxDriver.java:187)
	at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:147)
	at com.kms.katalon.selenium.driver.CFirefoxDriver.<init>(CFirefoxDriver.java:21)
	at com.kms.katalon.core.webui.driver.firefox.CGeckoDriver.<init>(CGeckoDriver.java:12)
	at com.kms.katalon.core.webui.driver.firefox.CGeckoDriver.from(CGeckoDriver.java:17)
	at com.kms.katalon.core.webui.driver.DriverFactory.createNewFirefoxDriver(DriverFactory.java:709)
	at com.kms.katalon.core.webui.driver.DriverFactory.startNewBrowser(DriverFactory.java:366)
	at com.kms.katalon.core.webui.driver.DriverFactory.openWebDriver(DriverFactory.java:264)
	at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword$_openBrowser_closure1.doCall(OpenBrowserKeyword.groovy:74)
	at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword$_openBrowser_closure1.call(OpenBrowserKeyword.groovy)
	at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:20)
	at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.openBrowser(OpenBrowserKeyword.groovy:81)
	at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.execute(OpenBrowserKeyword.groovy:67)
	at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:74)
	at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.openBrowser(WebUiBuiltInKeywords.groovy:64)
	at Script1712524224025.run(Script1712524224025.groovy:8)
	... 13 more
)
2024-05-04 15:44:35.431 ERROR c.k.katalon.core.main.TestCaseExecutor   - ❌ Test Cases/TC3 FAILED.
Reason:
com.kms.katalon.core.exception.StepFailedException: Unable to open browser with url: 'https://katalon-demo-cura.herokuapp.com/'
	at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:64)
	at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:26)
	at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.openBrowser(OpenBrowserKeyword.groovy:81)
	at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.execute(OpenBrowserKeyword.groovy:67)
	at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:74)
	at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.openBrowser(WebUiBuiltInKeywords.groovy:64)
	at TC3.run(TC3:8)
	at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
	at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
	at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:448)
	at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:439)
	at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:418)
	at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:410)
	at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:285)
	at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:144)
	at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:135)
	at TempTestCase1714805069307.run(TempTestCase1714805069307.groovy:25)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Caused by: org.openqa.selenium.WebDriverException: Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: MAC
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'KAZUAKInoMacBook-Air-2.local', ip: 'fe80:0:0:0:b7:6644:43ba:592%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '14.4.1', java.version: '17.0.7'
Driver info: driver.version: CGeckoDriver
	at org.openqa.selenium.firefox.FirefoxBinary.<init>(FirefoxBinary.java:100)
	at org.openqa.selenium.firefox.FirefoxOptions.getBinary(FirefoxOptions.java:216)
	at org.openqa.selenium.firefox.FirefoxDriver.toExecutor(FirefoxDriver.java:187)
	at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:147)
	at com.kms.katalon.selenium.driver.CFirefoxDriver.<init>(CFirefoxDriver.java:21)
	at com.kms.katalon.core.webui.driver.firefox.CGeckoDriver.<init>(CGeckoDriver.java:12)
	at com.kms.katalon.core.webui.driver.firefox.CGeckoDriver.from(CGeckoDriver.java:17)
	at com.kms.katalon.core.webui.driver.DriverFactory.createNewFirefoxDriver(DriverFactory.java:709)
	at com.kms.katalon.core.webui.driver.DriverFactory.startNewBrowser(DriverFactory.java:366)
	at com.kms.katalon.core.webui.driver.DriverFactory.openWebDriver(DriverFactory.java:264)
	at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword$_openBrowser_closure1.doCall(OpenBrowserKeyword.groovy:74)
	at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword$_openBrowser_closure1.call(OpenBrowserKeyword.groovy)
	at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:20)
	... 18 more

2024-05-04 15:44:35.454 INFO  c.k.katalon.core.main.TestCaseExecutor   - END Test Cases/TC3

My study

I noticed the following message:

Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: MAC

This error message implies that FirefoxDriver tried to find the firefox binary at a wrong place.

But, which path did it try? — I could not find the way in Katalon Studio how to let the geckodriver to show it to me runtime.

Alternatively I checked the official document of Firefox driver:

In the doc, I found this:

FirefoxDriver on Mac assumes the binary executable file of Firefox browser is named “firefox-bin” !

I don’t have the file named firefox-bin on my Mac. So the error occured.

I believe it is a mere bug of the geckodriver.

How to workaround this

I modified my test case slightly to give the correct path of firefox browser:

import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI

System.setProperty("webdriver.firefox.bin", "/Applications/Firefox.app/Contents/MacOS/firefox")

WebUI.openBrowser("https://katalon-demo-cura.herokuapp.com/")
WebUI.delay(1)
WebUI.closeBrowser()

This worked fine. The problem has been resolved.

I checked the release notes of FirefoxDriver at

This release note writes about v0.34.0

Fixed

  • While searching for a default Firefox installation on the system, geckodriver used the Contents/MacOS/firefox-bin executable instead of the binary specified in the app bundle’s info.plist file. This behavior resulted in a malfunction due to a regression in Firefox, particularly affecting the Firefox 121 release.

The release note wrote that it had FIXED the issue. But I do believe, the issue still remains unresolved in the v0.34.0 Firefox Driver. I am not going to dig into this any more as I am not really a FirefoxDriver user.

As I wrote above, I have found out the way to workaround the bug. So, I am fine.

2 Likes

Thanks for the workaround.

I’m finding that the latest firefox driver works on KS9 but not KS8.6.9 which I still use because of the custom keywords being a paid feature now in Version 9.

1 Like

Hi there,

Thank you very much for your topic. Please note that it may take a little while before a member of our community or from Katalon team responds to you.

Thanks!

@ed.lucas

Are you satisfied with my method of workaround or not? Please close this topic if you are contented.

Do you want Katalon to do something for this issue yet? If so, you should state your requirement to Katalon clearly.