Not able to run the testcases on the Chrome browser using katalon runtime engine

Caused by: org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: exited abnormally.
(unknown error: DevToolsActivePort file doesn’t exist)
(The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)

1 Like

Hi,

Your issue seems to relate to Chrome. Please delete it and try to download the latest one. If not work yet, I found this document selenium - WebDriverException: unknown error: DevToolsActivePort file doesn't exist while trying to initiate Chrome Browser - Stack Overflow. Hope to help

I am Using The Latest version of Chrome 108.0.5359.124

1 Like

your test script -------> ChromeDriver -------> Chrome browser

You have ChromeDriver of old version. You need to update the ChromeDirver which works in between your test script and Chrome brower.

1 Like

I am updating the chrome driver through this command while running in the console mode using KRE
./katalonc -noSplash -runMode=console -projectPath=“/home/BUILDS/Final/AccessWeb.prj” -retry=0 -testSuitePath=“Test Suites/ARunning/Sequential/ClusterRegistration” -browserType=“Chrome (headless)” -executionProfile=“Firefox_JMFilters” -apiKey=“1cd6df***********************” --config -proxy.auth.option=NO_PROXY -pro~xy.system.option=NO_PROXY - proxy.system.applyToDesiredCapabilities=true -webui.autoUpdateDrivers=true

by specifying -webui.autoUpdateDrivers=true in the command … But still not working

can you give me an idea on how to update chromeDriver

1 Like