Skip to content

Commit 4408e49

Browse files
committed
Add selenium_chrome Capybara driver
1 parent b1a8db1 commit 4408e49

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

capybara_drivers.rb

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
Capybara.register_driver :selenium_chrome do |app|
2+
Capybara::Selenium::Driver.new(app, browser: :chrome)
3+
end
4+
15
Capybara.register_driver :selenium_chrome_ssl do |app|
26
capabilities = Selenium::WebDriver::Remote::Capabilities.chrome(accept_ssl_certs: true)
37
Capybara::Selenium::Driver.new(app, browser: :chrome, desired_capabilities: capabilities)

0 commit comments

Comments
 (0)