Skip to content

Commit

Permalink
Use :options argument instead of :capabilities (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavosobral committed Aug 30, 2023
1 parent 33ca869 commit 20de0b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/billy/browsers/capybara.rb
Expand Up @@ -69,7 +69,7 @@ def self.register_selenium_driver
::Capybara::Selenium::Driver.new(
app,
browser: :chrome,
capabilities: options,
options: options,
clear_local_storage: true,
clear_session_storage: true
)
Expand All @@ -87,7 +87,7 @@ def self.register_selenium_driver
::Capybara::Selenium::Driver.new(
app,
browser: :chrome,
capabilities: options,
options: options,
clear_local_storage: true,
clear_session_storage: true
)
Expand Down

0 comments on commit 20de0b6

Please sign in to comment.