Skip to content

Commit

Permalink
change chrome flags
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Jul 16, 2024
1 parent c6994b3 commit 3d6aef2
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/TestFirefox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,19 @@ jobs:
@assert browser ∈ ["chrome", "firefox", "safari"]
browser_process = @async run(
if browser == "chrome"
`chrome --headless $(url)`
elseif browser == "firefox"
`firefox -headless -private-window $(url)`
else
`open -a Safari $(url)`
end
)
browser_process = @async try
run(
if browser == "chrome"
`chrome --no-first-run $(url)`
elseif browser == "firefox"
`firefox -headless -private-window $(url)`
else
`open -a Safari $(url)`
end
)
catch e
@error "Browser task failed" e
end
tstart = time()
Expand Down

0 comments on commit 3d6aef2

Please sign in to comment.