Reputation: 311
i'm attempting to upgrade protractor from version 4.0.14 to 5.0.0 with latest standalone selenium server + latest IE driver, and facing issue that on sending shutdown command via webdriver-manager, nothing happens, i still see process up and running.
Here more detailed info on environment:
Webdriver-manager shutdown command prints this:
[15:10:57] I/shutdown - Attempting to shut down selenium nicely
But i still can see Java processes hosting Webdriver ...
Any idea what that could be ? Sounds as a bug
Upvotes: 3
Views: 2620
Reputation: 41
Here is a command to kill the process listening on port 4444 (selenium server)
cmd /V /C "echo off && set "killed=0" && (for /F "tokens=5" %a in ('netstat -ano ^| findstr ":4444"') do if not %a == 0 if not !killed! == 1 (taskkill /F /PID %a && set "killed=1")) || echo No webdriver process found"
Upvotes: 3