HeadlessEdit on GitHub
The headless gem is a ruby wrapper for Xvfb that makes it super easy to run graphical applications (such as real web browsers) on a headless Linux machine. This gem is perfect for running headless Watir-WebDriver tests using a real browser.
A Cucumber Example
You should add the following code to your env.rb file: