Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do we stop webdriver-manager?

I am using npm package webdriver-manager to start driver on machine. It fails if the driver is already started.

Is there a way that I can stop and restart the webdriver? Or something like ignore if already started?

like image 408
Ronak Agrawal Avatar asked Sep 12 '15 07:09

Ronak Agrawal


1 Answers

If you're using Protractor, you can add seleniumServerJar to your config file, and protractor will start/stop the selenium server for you.

exports.config = {
seleniumServerJar: "path/to/selenium-server-standalone-2.45.0.jar",
...
like image 88
Brine Avatar answered Oct 21 '22 02:10

Brine