Skip to content

Commit

Permalink
Set the chrome-driver version for selenium.
Browse files Browse the repository at this point in the history
  • Loading branch information
dstuckey-uoe committed Oct 6, 2023
1 parent cd2cabb commit 35e8f25
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/support/capybara.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

require 'webdrivers/chromedriver'

# specify chrome-driver version
chrome_driver_version = '114.0.5735.90'

# set the chrome-driver version
Selenium::WebDriver::Chrome.driver_path = Webdrivers::Chromedriver.install_dir(chrome_driver_version)

# Cache for one hour
Webdrivers.cache_time = 3600

Expand Down

0 comments on commit 35e8f25

Please sign in to comment.