How to run browsers(chrome, IE and firefox) in headless mode?

Mukesh Kumar picture Mukesh Kumar · Mar 8, 2013 · Viewed 10.7k times · Source

I want to integrate JSTestDriver with jenkins-CI. problem is that the build server does not have display. is there a way to run browsers headlessly?

Thanks

Answer

ProgrammerGuy picture ProgrammerGuy · Mar 9, 2013

If your server is Linux, as mentioned, you can't run IE. But you can run other browsers like Firefox. The trick is to install XVFB on your Jenkins server which allows Firefox to run headless. I've used this setup and it works well.

http://www.alittlemadness.com/2008/03/05/running-selenium-headless/