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:
@@ -63,7 +63,7 @@ Capybara.register_driver :headless_chrome do |app|
|
||||
Capybara::Selenium::Driver.new(
|
||||
app,
|
||||
browser: :chrome,
|
||||
desired_capabilities: capabilities
|
||||
capabilities: capabilities
|
||||
)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user