O'Reilly logo

Selenium 2 Testing Tools Beginner's Guide by David Burns

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using XVFB with Selenium

The following section of this book requires that we do this work in Linux as the requirements are only available on that platform. When Selenium is running on your machine, you will see that it always runs on your screen. If you want to push the running of your tests to a background, then you will need to use something like XVFB. XVFB stands for X11 Virtual Frame Buffer.

This allows us to run tests with a real browser without it trying to steal focus from you. FirefoxDriver, for example, forces the browser to the foreground to help the native events.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required