Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

chrome driver : disconnected: unable to connect to renderer

I am working with c# selenium. I am getting error with chrome driver as :

System.InvalidOperationException : disconnected: unable to connect to renderer
(Session info: chrome=62.0.3202.94)
(Driver info: chromedriver=2.32.498550 
(9dec58e66c31bcc53a9ce3c7226f0c1c5810906a),platform=Windows NT 10.0.15063 x86_64) (102)

Now I tried updating the chrome browser version to 2.33 and its working fine on my local machine. But I am getting this error my server where I am executing this tests on schedule basis.

I am using TFS to deploy tests on the server and to run the tests.

the same project is working on my local machine but I am getting this error on server for the

 driver.Manage().Window.Maximize();

line for all the tests.

I check out same project from TFS on my colleagues machine and tried executing there its was working fine.

I tried updating driver to 2.33 even tried downgrading the driver to 2.32 and executed multiple time but its not working.

I am using MS build to build the automation project and deploy it on server as well.

like image 532
Ak02 Avatar asked Dec 13 '25 23:12

Ak02


1 Answers

When I am using Python 3, facing the same error, in my situation, I did not close the chrome process after using it. So you should check the chrome process properly closed after using it.

like image 170
Dolphin Avatar answered Dec 16 '25 15:12

Dolphin