Open anastasiam opened 3 months ago
I am no expert, but I think this happens when you have an instance of chromedriver.exe running. You should run a taskkill chromedriver.exe prior to running each time. You most likely started it, then stopped, and didnt clean it up. You cannot have two instances in the same directory or you get this error.
I am no expert, but I think this happens when you have an instance of chromedriver.exe running. You should run a taskkill chromedriver.exe prior to running each time. You most likely started it, then stopped, and didnt clean it up. You cannot have two instances in the same directory or you get this error.
When I execute taskkill /f /im chromedriver.exe
, it shows ERROR: The process "chromedriver.exe" not found
. I terminated all Google Chrome processes as well. I was even restarting my computer.
Did you try chrome.exe
as well?
Did you try
chrome.exe
as well?
Yes
I've also tried to copy User Data folder to a separate one and use it, but I still get the same error.
Hello!
When setting
userDataDir
and navigating to a url I get an errorUnable to receive message from renderer
in console output. When I try to do anything else, after this message appears, I getOpenQA.Selenium.WebDriverException: disconnected: not connected to DevTools
exception. IfuserDataDir
is not being set it works perfectly fine.Error in console:
Exception:
My code:
Even though I set
headless: true
, it behaves like it's set tofalse
. The window is opening, navigating to the url and closing immediately.I would appreciate any help.