Skip to content

Commit

Permalink
fix unknown download_path= (remove it as chrome version is > 77)
Browse files Browse the repository at this point in the history
  • Loading branch information
maatinito committed Dec 18, 2023
1 parent fddc6cc commit fd81ba0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions spec/support/capybara.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@

def setup_driver(app, download_path, options)
Capybara::Selenium::Driver.new(app, browser: :chrome, options:).tap do |driver|
# Set download dir for Chrome < 77
driver.browser.download_path = download_path

if ENV['MAKE_IT_SLOW'].present?
driver.browser.network_conditions = {
offline: false,
Expand Down

0 comments on commit fd81ba0

Please sign in to comment.