Kopflos

Yo dog, I heard you like testing in real browsers, so I put some virtual framebuffer onto your system so you can test while you have no actual display.

Installation

Do not know how to support Mac yet. But which ruby developer uses a macintosh anyway?

Cucumber

In your env.rb:

require 'kopflos/cucumber'

RSpec

In your spec_helper.rb or rails_helper.rb

require 'kopflos/rspec'

Future / TODO

Contributing to kopflos

Gotchas

Lockfiles

Xvfb may leave lockfiles behind (/tmp/.X999-lock). If they run out, Xvfb cannot be started and Selenium may fail with EOFError.

Copyright © 2011 Niklas Hofer. See LICENSE.txt for further details.