Skip to content

Commit

Permalink
updated deprecated capybara [:capabilities] field to :options
Browse files Browse the repository at this point in the history
Signed-off-by: Vanessa Fotso <[email protected]>
  • Loading branch information
vanessuniq committed Nov 10, 2023
1 parent 5dee1b8 commit 509f0fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/support/capybara.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
client = Selenium::WebDriver::Remote::Http::Default.new
client.read_timeout = 120

Capybara::Selenium::Driver.new(app, browser: :chrome, http_client: client, capabilities: [options])
Capybara::Selenium::Driver.new(app, browser: :chrome, http_client: client, options: options)
end

Capybara.default_driver = :chrome

0 comments on commit 509f0fb

Please sign in to comment.