Skip to content

Commit

Permalink
Headless webdriver option
Browse files Browse the repository at this point in the history
  • Loading branch information
blacksmith-welder committed Aug 28, 2024
1 parent 869a485 commit 2024096
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

Capybara.register_driver :firefox do |app|
options = Selenium::WebDriver::Firefox::Options.new
options.add_argument("--headless")

Capybara::Selenium::Driver.new(app, browser: :firefox, options: options)
end
Expand Down

0 comments on commit 2024096

Please sign in to comment.