Attempting to launch test case, or browser via object spy, using Chrome and getting the following message…
Caused by: org.openqa.selenium.WebDriverException: disconnected: not connected to DevTools
Searching seems to be some sort of mismatch between chrome and chrome driver versions possibly. I have the latest Chrome and chromeDriver versions as far as I am aware, so off hand I am unsure what the issue is currently.
Browser will launch and then close right away.
What directions should I be looking to sort this out?
I tried https://chromedriver.storage.googleapis.com/ which responded an XML document where many versions of ChromeDrivers are included. However, the list did not include the version 115.0.5790.00. Therefore I got an error. I understood the reason why I got an error.
But I do not know why the XML list does not include the latest version 115.0.5790.00 yet. The site is managed by Google; I am not in charge of it, of course.
I have no more knowledge about the way how ChromeDriver is distributed.
I will just wait for a few days to see how things change …
I did attempt that yesterday with the latetest v115 build that they had released, and that was when the error changed from the DevTools one to the Renderer one, so still some issues with the driver not working right it seems.
Katalon was finally able to update the chromeDriver and the new error is “unknown error: cannot find Chrome binary”. If thats the path to the driver, then it is still the same defaulted folder for that and I confirmed the chromeDriver file in there was from when I updated it via Katalon.
I have tried to update chome and chromedriver via the PDF link (How to use Chrome for Testing in Katalon Studio) that @Elly_Tran shared in the linked post…
I downloaded the chrome and chromedriver files utilizing npx…attempted with Stable version 115 and Beta version 116…copied the chrome/chromedriver files to the indicated locations via that PDF…updated the binary source in Katalon’s project settings for DesiredCapabilities>WebUI>Chrome.
When trying with the beta version 116…Katalon still launches the 115 version chromeDriver even though I replace all files both in project\include\driver folder as well as Katalon’s configuration\resources\drivers folder with the 116 version, so idk where it is pulling the 115 driver version from.
When trying with v116, katalon gives an error that the driver 115 isn’t tested with version 116 chrome, even though v116 driver should be installed, it is somehow not targeted properly?!?! It appears to still be having the “Unable to receive message from renderer” error.
When trying to run with 115 for both chrome and chromedriver…I receive the error: “disconnected: Unable to receive message from renderer (failed to check if window was closed: disconnected: not connected to DevTools)”
Error log in attached text file.
I don’t understand how to resolve this in lieu of Katalons 9.0.0 update which was mentioned wont be until sometime in September. This has stopped all productivity on my end to the point that Katalon Studio is no longer a viable solution to my project and I have to now look into other means of Automation Testing and cease using Katalon which is very problematic.