Skip to content

Commit

Permalink
headless?
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmries committed Jul 23, 2024
1 parent 1bd6078 commit cdce1ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/axe-core-api/e2e/selenium/spec/api_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
require "axe/api"

options = Selenium::WebDriver::Chrome::Options.new
# options.add_argument('--headless')
options.add_argument('--headless')
options.add_argument('--no-sandbox')
options.add_argument('--disable-dev-shm-usage')
$driver = Selenium::WebDriver.for :chrome, options: options
Expand Down Expand Up @@ -345,7 +345,6 @@ def get_check_by_id(check_list, id)
it "geckodriver" do
options = Selenium::WebDriver::Firefox::Options.new
options.add_argument('--headless')
options.add_argument('--disable-dev-shm-usage')
driver = Selenium::WebDriver.for :firefox, options: options
expect do
driver.get fixture "/index.html"
Expand Down

0 comments on commit cdce1ee

Please sign in to comment.