Skip to main content

KRE execution error "DevToolsActivePort file doesn't exist" on Linux

DevToolsActivePort file doesn't exist error message shows up in Katalon Runtime Engine (KRE) execution on Linux and the project is unable to open the browser:
2022-03-29 15:44:46.648 ERROR c.k.k.core.keyword.internal.KeywordMain - ❌ Unable to open browser with url: '' (Root cause: com.kms.katalon.core.exception.StepFailedException: Unable to open browser with url: ''
Caused by: org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: exited abnormally.
Caused by: org.openqa.selenium.WebDriverException: unknown error: DevToolsActivePort file doesn't exist
  1. First of all, make sure the versions between ChromeDriver and Chrome browser are matching. For example: ChromeDriver and Chrome browser both have version 101.
  2. Add these arguments in Project Settings:
    Katalon Studio project setting
  3. If you're running the project as a headless browser, use the parameter -browserType=Chrome (headless) instead of -browserType=Chrome. Those arguments must be added into Chrome (headless) from the Project Settings as well.
  4. In case your Linux machine is non-GUI, prepare another Linux machine with GUI and installed with Katalon Studio. Upload your Katalon project to the Git repository.
    1. Open Katalon Studio on the GUI machine.
    2. Clone your Katalon project from the Git repository to the machine. See Git integration in Katalon Studio.
    3. Add the above arguments in the Katalon Studio's Project Settings. Commit and push the changes to your Git repository.
    4. Go back to your non-GUI Linux machine and use the Git bash command to clone the Katalon Project to that machine. Run the test.