Unable to open browser with url: ” (Root cause: org.openqa.selenium.SessionNotCreatedException: session not created exception from disconnected: received Inspector.detached event

I’ve found an approach that worked in my case, hopefully it will help others.

After several hours of research, I’ve found that the general consensus in the Selenium community around this issue (it’s a recurring problem) is that there is some disagreement between the versions of each of these being used:

1.) Selenium
2.) ChromeDriver
3.) Chrome (browser)

As Katalon Studio does its own management of the versions being used for each of these with each release, manually changing these is not a sustainable approach (although it can be done). The solution for me turned out to be from here:

Basically, I needed to add some custom args to chromedriver. This can be done as follows:

1.) In Katalon Studio, navigate to Project > Settings > Execution > Default > Web UI > Chrome
2.) Add a row by clicking “Add”
3.) In the Name column, type “args” (without quotes)
4.) In the Type column, select “List”
5.) In the Value column, open up the List Property Builder by clicking on the elipsis button on the right.
6.) Add all of the following properties:

7.) Apply the changes and see if the problem persists.

2018-11-27 11_27_10-List Property Builder.png

1 Like