windows - Starting selenium server from java in the background -


i want make easy-to-use selenium tests - run 1 file , starts server, connects it, run tests, close server , exit (on windows).

i don't want user see selenium console want hide if possible (run in background , maybe log output). how can start selenium server directly java?

well, wasn't hard (at least on windows). used start selenium server this:

java -jar selenium-server-xxx.jar <options> 

to start without console use javaw:

javaw -jar selenium-server-xxx.jar <options> 

Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -