How to set javascript driver to Capybara webkit
lokeshh opened this issue · 1 comments
lokeshh commented
In the README it is mentioned that following line has to be added:
Capybara.javascript_driver = :webkit
Where to add this line?
jferris commented
That depends on which framework you're using to test. If you're using a recent version of RSpec, you probably want to put it in spec/rails_helper.rb
. Check out the Capybara setup guide for more information.