Unable to run tests using FireFox

Hi ,

Im trying to run the the tests using firefox. Its fail to open browser.

Here are details of my version

katalon 7.6.6
Windows 10
FireFox v80.0.1
Downloaded latest firefox driver from https://github.com/mozilla/geckodriver/releases/tag/v0.27.0

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/Work/Automation/Katalon/Katalon-7.6.6/Katalon_Studio_Windows_64-7.6.6/plugins/ch.qos.logback.classic_1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Work/Automation/Katalon/Katalon-7.6.6/Katalon_Studio_Windows_64-7.6.6/configuration/plugin/install/183327/1.0.0/katalon-studio-jmeter-integration-plugin-1.0.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
2020-09-15 13:14:25.113 INFO c.k.katalon.core.main.TestCaseExecutor - --------------------
2020-09-15 13:14:25.122 INFO c.k.katalon.core.main.TestCaseExecutor - START Test Cases/FireFox/Login/Verify_SMS_WebLogin
2020-09-15 13:14:25.974 DEBUG testcase.Verify_SMS_WebLogin - 1: openBrowser("")
2020-09-15 13:14:26.580 INFO c.k.k.core.webui.driver.DriverFactory - Starting ‘Firefox’ driver
Sep 15, 2020 1:14:26 PM org.openqa.selenium.remote.DesiredCapabilities firefox
INFO: Using new FirefoxOptions() is preferred to DesiredCapabilities.firefox()
2020-09-15 13:14:26.760 INFO c.k.k.core.webui.driver.DriverFactory - Action delay is set to 0 milliseconds
1600155870734 mozrunner::runner INFO Running command: “C:\Program Files\Mozilla Firefox\firefox.exe” “-marionette” “-foreground” “-no-remote” “-profile” “C:\Users\ckumar\AppData\Local\Temp\rust_mozprofile.d9qUNqndeeRR”
[11980, Gecko_IOThread] WARNING: pipe error: 232: file /builds/worker/checkouts/gecko/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 545
[11980, VsyncIOThread] WARNING: failed to create pipe: 2: file /builds/worker/checkouts/gecko/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 238

###!!! [Parent][MessageChannel::SendAndWait] Error: Channel error: cannot send/recv

[GFX1-]: Failed to initialize GPU process

###!!! [Parent][MessageChannel] Error: (msgtype=0x53001B,name=PGPU::Msg_ShutdownVR) Channel error: cannot send/recv

IPDL protocol error: Error deserializing ‘Endpointmozilla::ipc::PBackgroundParent
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
2020-09-15 13:14:36.758 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:73)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.openBrowser(WebUiBuiltInKeywords.groovy:60)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$openBrowser.call(Unknown Source)
at Verify_SMS_WebLogin.run(Verify_SMS_WebLogin:19)
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:339)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:330)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:309)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:301)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:235)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:114)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1600155860752.run(TempTestCase1600155860752.groovy:25)
Caused by: org.openqa.selenium.WebDriverException: permission denied
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘CKUMAR-L03’, ip: ‘172.28.60.33’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
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:637)
at com.kms.katalon.core.webui.driver.DriverFactory.startNewBrowser(DriverFactory.java:341)
at com.kms.katalon.core.webui.driver.DriverFactory.openWebDriver(DriverFactory.java:241)
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:73)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.openBrowser(WebUiBuiltInKeywords.groovy:60)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$openBrowser.call(Unknown Source)
at Script1598513640889.run(Script1598513640889.groovy:19)
… 10 more
)
2020-09-15 13:14:36.782 ERROR c.k.katalon.core.main.TestCaseExecutor - :x: Test Cases/FireFox/Login/Verify_SMS_WebLogin 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:73)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.openBrowser(WebUiBuiltInKeywords.groovy:60)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$openBrowser.call(Unknown Source)
at Verify_SMS_WebLogin.run(Verify_SMS_WebLogin:19)
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:339)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:330)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:309)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:301)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:235)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:114)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1600155860752.run(TempTestCase1600155860752.groovy:25)
Caused by: org.openqa.selenium.WebDriverException: permission denied
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘CKUMAR-L03’, ip: ‘172.28.60.33’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
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:637)
at com.kms.katalon.core.webui.driver.DriverFactory.startNewBrowser(DriverFactory.java:341)
at com.kms.katalon.core.webui.driver.DriverFactory.openWebDriver(DriverFactory.java:241)
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)
… 16 more

2020-09-15 13:14:36.851 INFO c.k.katalon.core.main.TestCaseExecutor - END Test Cases/FireFox/Login/Verify_SMS_WebLogin

Have you ever used Firefox before? The error says:

At a guess, I’d say there’s something wrong at the core of your Firefox installation. I’ve never seen that message reported by geckodriver before.

Try updating your webdrivers: Tools > UpdateWebDrivers

I agree with this here. I’m running the latest firefox version (same as your @ 80.0.1). You should try the above and update your webdrivers. I literally check that every day before I start my tests. Next I make sure I open my browser fully (also causes a bug if you do not) when I’m navigating and making the test.

@Russ_Thomas and @AFK_Keys

I generally use Firefox. After upgrading the firefox version.I have downloaded the latest driver from the github and copied to drivers under firefox.

Now i did update drivers from Tools. It worked. Update driver log shows

INFO] Using WebDriverManager to resolve firefox
[INFO] Please answer the following questionnaire based on your experience with WebDriverManager. Thanks a lot!
[INFO] ====> http://tiny.cc/wdm-survey <====
[DEBUG] Running command on the shell: [wmic.exe, datafile, where, name=‘C:\Program Files\Mozilla Firefox\firefox.exe’, get, Version, /value]
[DEBUG] Result: Version=80.0.1.7548
[DEBUG] Getting driver version for firefox80 from online versions.properties
[DEBUG] Driver for firefox80 not found in online properties (using local version.properties)
[DEBUG] The driver version for Firefox 80 is unknown … trying with latest
[WARN] There was an error managing geckodriver (latest version) (null) … trying again using latest driver stored in cache
[INFO] Reading https://raw.githubusercontent.com/katalon-studio/katalon-studio/master/gecko-releases.json to seek geckodriver
[DEBUG] Driver to be downloaded geckodriver 0.24.0
[INFO] Downloading https://github.com/mozilla/geckodriver/releases/download/v0.24.0/geckodriver-v0.24.0-win64.zip
[INFO] Extracting binary from compressed file geckodriver-vwin64v0.24.0-win64.zip
[DEBUG] Overriding former binary C:\Work\Automation\Katalon\Katalon-7.6.6\Katalon_Studio_Windows_64-7.6.6\configuration\resources\drivers\firefox_win64\geckodriver.exe
[INFO] Driver location: C:\Work\Automation\Katalon\Katalon-7.6.6\Katalon_Studio_Windows_64-7.6.6\configuration\resources\drivers\firefox_win64\geckodriver.exe

What i downloaded from github is geckodriver-v0.27.0-win64 . Dont know why it didn’t worked initially. Now even this driver is working.

2 Likes