1
votes

Is there a command (from the command line or a webrequest) to shut down a grid 2.0 hub?

I have tried "curl -d action=shutdown http://localhost:4444/lifecycle-manager" (as POST request), I have also tried the usual http://localhost:4444/selenium-server/driver/?cmd=shutDownSeleniumServer

I've searched everywhere. I would preferably like something without using rake or ant

1
the accepted answer does not work with the grid 2.0 hub. I was wondering if an equivalent command exists for the current version.prestomanifesto

1 Answers

1
votes

At version 2.25.0 old-style hub managing added.

So now you can use request like this one to stop hub:

http://localhost:4444/lifecycle-manager?action=shutdown