C# code to start selenium-server on remote machine

Posted by Naresh Thandu on Stack Overflow See other posts from Stack Overflow or by Naresh Thandu
Published on 2012-03-28T09:24:52Z Indexed on 2012/06/07 22:40 UTC
Read the original article Hit count: 146

Filed under:
|
|
|

As part of my test automation, I have to start Selenium Server on my server.

As of now I am manually executing a batch file to start selenium server on m,y machine.

Batch file contains the following command.

java -jar selenium-server-standalone-2.16.1.jar -role hub http://server.com:5555/grid/register

But as I required it for my test automation, I want to automate running the selenium server on a remote server from my C# code. How do I do this?

© Stack Overflow or respective owner

Related posts about c#

Related posts about c#-4.0