Bump selenium-webdriver from 3.142 to 4.0.0

And also `capybara-webmock' to the latest as the previous
one is not supported by selenium-webdriver.

The change in the rails_helper.rb file fixes a deprecation warning
related to desired capabilities after this upgrade.
This commit is contained in:
Senén Rodero Rodríguez
2023-06-29 17:29:21 +02:00
parent 93d33b6d83
commit 41a84d6625
3 changed files with 21 additions and 20 deletions

View File

@@ -63,7 +63,7 @@ Capybara.register_driver :headless_chrome do |app|
Capybara::Selenium::Driver.new(
app,
browser: :chrome,
desired_capabilities: capabilities
capabilities: capabilities
)
end