Skip to content

Commit

Permalink
Specify download default directory
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Aug 2, 2024
1 parent 478d882 commit c75e747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/dummy_app/spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
options.add_argument '--disable-dev-shm-usage'
options.add_argument '--disable-gpu'
options.add_argument '--window-size=1024,768'
options.add_argument '--remote-debugging-pipe'
options.add_preference "download.default_directory", Rails.root.join("tmp/downloads")
Capybara::Selenium::Driver.new app, browser: :chrome, options: options
end

Expand Down

0 comments on commit c75e747

Please sign in to comment.