We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1527e88 commit ff5b2d8Copy full SHA for ff5b2d8
lib/capybara/selenium/driver.rb
@@ -45,6 +45,7 @@ def browser
45
end
46
47
processed_options = options.reject { |key, _val| SPECIAL_OPTIONS.include?(key) }
48
+
49
@browser = Selenium::WebDriver.for(options[:browser], processed_options)
50
51
specialize_driver
lib/capybara/spec/session/driver_spec.rb
@@ -1,7 +1,7 @@
1
# frozen_string_literal: true
2
3
Capybara::SpecHelper.spec 'Driver' do
4
- context "freeze_page", requires: %i[freeze js] do
+ context 'freeze_page', requires: %i[freeze js] do
5
it 'can pause a page' do
6
@session.visit('/with_js')
7
@session.find(:css, '#clickable').click
0 commit comments