Skip to main content

Terminating Old Web Drivers

Any time your automation exits on an error it will leave its drivers running, and those will prevent your project from being able to build successfully.

You can terminate old drivers by opening Powershell and running the following script:

Stop-Process -Name "chromedriver" -Force

Alternatively, you can stop all chromedriver processes by opening Powershell or a Command window and typing:

taskkill /im chromedriver.exe /f

You can change "chromedriver" to whichever drivers you have been running (edgedriver, firefoxdriver, etc).

Thanks to Chayston for this nugget of wisdom!