Skip to content

Commit 159bbbf

Browse files
committed
ci: check native Intel browser downloads in headless mode
1 parent b0f4581 commit 159bbbf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/workflows/browser-download-proof.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ jobs:
4343
}))
4444
process = subprocess.Popen([
4545
chrome, "--user-data-dir=" + str(profile), "--no-first-run", "--no-default-browser-check",
46-
"--use-mock-keychain", url,
46+
"--use-mock-keychain",
47+
*(["--headless=new"] if os.environ["EXPECTED_ARCH"] == "x86_64" else []),
48+
url,
4749
], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, start_new_session=True)
4850
try:
4951
downloaded = downloads / name

0 commit comments

Comments
 (0)