Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

How to run selenium server and node in background?

Windows

$ start /b java -jar selenium-server-standalone-3.141.59.jar -role hub

Linux
For unix, nohup represents ‘no hangup’, which is slightly different than a background job (which would be command &. I believe that the above command should be similar to a background job for windows.

$ nohup java -jar selenium-server-standalone-3.141.59.jar -role hub &
Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)