In Jenkins able to run the script in chrome headless but failing in chrome browser with error 'unable to open url'

The error thrown is below " org.openqa.selenium.remote.DesiredCapabilities chrome
INFO: Using new ChromeOptions() is preferred to DesiredCapabilities.chrome()
2023-09-12 07:44:49.573 INFO c.k.k.core.webui.driver.DriverFactory - Action delay is set to 0 milliseconds
2023-09-12 07:44:49.575 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: ‘’"

Note:
1.Chrome is updated in katalon and in jenkins-version 116
2. Its runnin in chrome headless but failing in chrome

1 Like

Hi @vasanthi.jayakumar, You need to update your Chrome WebDriver using Katalon Studio >= 8.6.6

1 Like

Hi @Dave_Evers
I tried tis before itself and tried again still its the same . I have attached the jenkins console output for reference. Please do the needful

The log file contained a line:

Caused by: java.lang.IllegalStateException: The driver executable does not exist: /home/opc/Katalon/configuration/resources/drivers/chromedriver_linux64/chromedriver

So you should check if the driver executable exists or not at the path.

It is present and we are able to execute in chrome headless too @kazurayam

Just weird. I have no idea.

@Dave_Evers @duongpd1 @daniel3 any idea…plz refer the above issue

Hi @vasanthi.jayakumar, Have you tried different versions of the ‘Linux64 chromedriver’?
See: Chrome for Testing availability

e.g.,

Also see this page: Upgrade or Downgrade WebDrivers in Katalon Studio | Katalon Docs

@Elly_Tran, @albert.vu any suggestions?

Hi,

Please try to update Chrome browser and choose a compatible WebDriver version with the new Chrome version. Let’s see if it works: Unable to open browser with url: '' (Root cause: com.kms.katalon.core.exception.StepFailedException: Unable to open browser with url: ''