How can I run Selenium Server Standalone 2 as a windows service in Windows XP?
Or if you want it start at startup, you can do this:
Create file 01_start_hub.bat
which will contain this command:
java -jar selenium-server-standalone-2.20.0.jar -role hub
Create file 02_start_node.bat
which will contain this command:
java -jar selenium-server-standalone-2.20.0.jar -role node -hub http://localhost:4444/grid/register
Place both bat files into Startup folder C:\Documents and Settings\UserName\Start Menu\Programs\Startup
Yes you will have two "ugly" dos prompts after startup, but this is quickwin solutin
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With