Skip to content

Commit

Permalink
fix: Add Webdrivers::Chromedriver.required_version
Browse files Browse the repository at this point in the history
Try to fix CI warning: "Please set
`Webdrivers::Chromedriver.required_version = <desired driver version>`
to a known chromedriver version"

See: https://github.com/concord-consortium/rigse/actions/runs/5728882369/job/15530837575#step:17:12
  • Loading branch information
433eros committed Aug 28, 2023
1 parent 67ac535 commit eccc56b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rails/spec/support/capybara_initializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ def call
Capybara.server_port = '43447'
end

# See: https://github.com/actions/runner-images/blob/d5d4c565dffff750a33f0f7d020bc12a4a896d90/images/linux/Ubuntu2204-Readme.md?plain=1#L158
# See: https://chromedriver.storage.googleapis.com/LATEST_RELEASE
Webdrivers::Chromedriver.required_version = "114.0.5735.90"

# Register the driver
Capybara.register_driver(:selenium) { |app| driver(app) }
Capybara.javascript_driver = :selenium
Expand Down

0 comments on commit eccc56b

Please sign in to comment.