Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specifying more config options to Capybara::Webkit #540

Open
mathias opened this issue May 1, 2018 · 1 comment
Open

Specifying more config options to Capybara::Webkit #540

mathias opened this issue May 1, 2018 · 1 comment

Comments

@mathias
Copy link

mathias commented May 1, 2018

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!

@mathieujobin
Copy link
Collaborator

sounds good, PR welcome ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants