From 3d6aef24a9a18b78a2404f7e27aaca02a4c987a2 Mon Sep 17 00:00:00 2001 From: Fons van der Plas Date: Tue, 16 Jul 2024 21:19:39 +0200 Subject: [PATCH] change chrome flags --- .github/workflows/TestFirefox.yml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/workflows/TestFirefox.yml b/.github/workflows/TestFirefox.yml index b8966b9590..468372c7fa 100644 --- a/.github/workflows/TestFirefox.yml +++ b/.github/workflows/TestFirefox.yml @@ -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()