Skip to content

Commit

Permalink
Added implicit set of javascript driver on readme
Browse files Browse the repository at this point in the history
* If the driver for javascript is not implicitly set
  and by any chance you are not using the default driver it
  won't be linked.

* Had this issue myself since i was using the
  ```:selenium_chrome_headless```
  on development and during the ci the ```:chrome``` driver
  that was beeing created was not being linked as the javascript driver
  • Loading branch information
aledustet committed Apr 14, 2018
1 parent 51e3b79 commit f34594b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -55,4 +55,6 @@ Capybara.register_driver :chrome do |app|
desired_capabilities: Selenium::WebDriver::Remote::Capabilities.chrome(chrome_opts)
)
end
Capybara.javascript_driver = :chrome
```

0 comments on commit f34594b

Please sign in to comment.