Skip to content

Commit

Permalink
pin chromedriver
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorcy committed Aug 25, 2023
1 parent 5650882 commit 7b2f73f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
Capybara::Screenshot.autosave_on_failure = false
Capybara.raise_server_errors = false
Selenium::WebDriver.logger.level = :fatal
Webdrivers::Chromedriver.required_version = "116.0.5845.96"
Webdrivers::Chromedriver.required_version = "114.0.5735.90"

if ENV['IN_DOCKER'].present? || ENV['HUB_URL'].present?
args = %w[disable-gpu no-sandbox whitelisted-ips window-size=1400,1400]
args.push('headless') if ActiveModel::Type::Boolean.new.cast(ENV['CHROME_HEADLESS_MODE'])
Expand Down

0 comments on commit 7b2f73f

Please sign in to comment.