Somewhat specific to Ubuntu, this is towards running this JAR on a server.

Running xvfb just hangs for me, so trying to get the syntax properly:

thufir@doge:~/.html$ xvfb-run --auto-servernum --server-num=1 --server-args='-screen 0, 1024x768x24' firefox -start-maximized http://www.google.com > /dev/null &
[5] 2485

so that at least some output is captured, ie: foo.html or such. I've tried redirecting to a file but can't seem to get any output from xvfb with the above usage.

in larger the context of running selenium from the CLI as so:

java -jar NetBeansProjects/selenium/build/libs/selenium-all.jar

How do I execute the JAR so that it's purely a CLI operation?

see also:




Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.