Skip to content

Instantly share code, notes, and snippets.

@tolleiv
Last active December 12, 2015 10:18
Show Gist options
  • Save tolleiv/4757794 to your computer and use it in GitHub Desktop.
Save tolleiv/4757794 to your computer and use it in GitHub Desktop.
Inline headless capybara...
require 'capybara/dsl'
require 'capybara-webkit'
require 'headless'
include Capybara::DSL
Capybara.default_driver = :webkit
headless = Headless.new
headless.start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment