From 856e04f3c378909054588e2907a35515a88b7f17 Mon Sep 17 00:00:00 2001 From: dstuckey-uoe Date: Fri, 6 Oct 2023 15:58:44 +0100 Subject: [PATCH] Replaced setup with required_version. --- spec/support/capybara.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/support/capybara.rb b/spec/support/capybara.rb index fad4f693f4..872749ccb1 100644 --- a/spec/support/capybara.rb +++ b/spec/support/capybara.rb @@ -6,7 +6,7 @@ chrome_driver_version = '114.0.5735.90' # set the chrome-driver version -Selenium::WebDriver::Chrome.driver_path = Webdrivers::Chromedriver.setup(chrome_driver_version) +Webdrivers::Chromedriver.required_version = chrome_driver_version # Cache for one hour Webdrivers.cache_time = 3600