Search code examples
seleniumautomated-testsselenium-rcselenium-grid

How to kill/unregister/remove a Selenium node from a Grid


I manage a Selenium Grid. And I want to remove or unregister a node from Grid with a command line or something like that because I don't have access to the PC registered as a selenium Node, but I can see its IP from the Grid.

This is the script to register that node:

java -jar selenium-server-standalone-2.48.2.jar -role node -hub http://10.0.50.34:4444/grid/register/

I can't find anyway to stop this script. I tried to shutdown the Hub and restarted it, but this node was registered again, because the script was still running and waiting for the hub.


Solution

  • Try blocking the IP, if it is blocked it wont receive anything from the node machine and it wont be displayed.