Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Selenium(chrome) crashes on navigate

I am trying to open url with Selenium and Google chrome, however i always end up with chromedriver.has stopped working.

ChromeDriver driver = new ChromeDriver(@"Path\To\The\Driver");
driver.Navigate().GoToUrl("https://www.google.com/");

i tried to sleep between initializing and going to url, however it does nothing.

like image 441
Благовест Тодоров Avatar asked Dec 02 '25 10:12

Благовест Тодоров


1 Answers

As stated above, chromedriver version 2.25 will work. The problem with version 2.25 is that it crashes when running. You can see here the update history.

https://sites.google.com/a/chromium.org/chromedriver/download .

I would suggest you use a later version of the driver. Here is the link to the drivers that was given to me by visual studio. http://chromedriver.storage.googleapis.com

Choose a chrome driver version 2.37 for windows selenium version 3.11.1.

like image 85
Cristian Galindo Avatar answered Dec 04 '25 22:12

Cristian Galindo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!