Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Selenium Chrome WebDriver Cannot start Driver service on port

I am not able start ChromeWebDriver/IE/Firefox and it throws me a error message

This issue occurs only with

  • Selenium C# Binding with ChromeDriver
  • Occurs when I am connected to my Organization's VPN

Doesn't occur with Python ChromeDriver binding

OpenQA.Selenium.WebDriverException:Cannot start the Driver Service on http://localhost:59343
like image 642
Shan Avatar asked Dec 28 '25 09:12

Shan


2 Answers

It could be the case that a process of the WebDriver is still running in the background. Fire up Task Manager to see and end it if does.

like image 68
Happy Bird Avatar answered Dec 30 '25 23:12

Happy Bird


I had the same problem, when I used Selenium.Webdriver 3.00-beta1 with Firefox in Visual Studio. After update to version 3.00-beta2 it start work good.

like image 27
avdynut Avatar answered Dec 30 '25 22:12

avdynut



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!