teaspoon icon indicating copy to clipboard operation
teaspoon copied to clipboard

Specifying more config options to Capybara::Webkit

Open mathias opened this issue 8 years ago • 1 comments

Hello,

I need to specify several options to Capybara::Webkit. In an rspec config file for acceptance tests, this would look like

  Capybara::Webkit.configure do |config|
    config.allow_url("example.com")
    config.allow_url("blog.example.com")
  end

etc

I am trying to pass config options to Capybara::Webkit in the appropriate spot in teaspoon_env.rb but it does not appear that this hash is the same as config above.

Is there some way to do the above in the scope of the Capybara::Webkit that teaspoon uses?

The docs for Capybara Webkit on teaspoon don't mention this type of config.

Thanks!

mathias avatar May 01 '18 15:05 mathias

sounds good, PR welcome ;)

mathieujobin avatar Mar 12 '21 03:03 mathieujobin