Skip to content

Instantly share code, notes, and snippets.

@flomotlik
Created February 11, 2013 20:09
Show Gist options
  • Save flomotlik/4757186 to your computer and use it in GitHub Desktop.
Save flomotlik/4757186 to your computer and use it in GitHub Desktop.
Capybara.register_driver :poltergeist do |app|
Capybara::Poltergeist::Driver.new(app, {js_errors:true, port:44678+ENV['TEST_ENV_NUMBER'].to_i, phantomjs_options:['--proxy-type=none'], timeout:180})
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment