DevToolsActivePort file does not exist


#1

Hello,

I have a problem executing test cases using chrome browser. When I just type WebUI.openBrowser('https://www.google.com') ,
it gives me an error:
Unable to open browser with url: ''

Also, I’ve looked up at the error and it gives me also this kind of error:

image

I have this problem 3-4 weeks already, please help me resolving this problem.

P.S. I can run test cases on IE and Edge browsers without any problems.

When I type so, chrome runs without problems.

System.setProperty('webdriver.chrome.driver', 'PATH')
WebDriver driver = new ChromeDriver()
DriverFactory.changeWebDriver(driver)
driver.get('https://www.google.com')

But I don’t want to type so much when I have
WebUI.openBrowser()


#2

Hi @brithwulf,

Please try update KS to v6.2.0.

Thanks


#3

I’ve updated it to v6.2.0, but same problem. :frowning:


#4

Try reinstalling Chome.

Edit:

According to https://stackoverflow.com/questions/54546997/jenkins-selenium-webdriver-java-error-devtoolsactive-port-does-not-exit, you might try downgrading the ChromeDriver.