From c43bf6bb99b6ee4ae32f6ae980499364aa3d3588 Mon Sep 17 00:00:00 2001 From: Ryan Rosello Date: Mon, 19 Aug 2024 20:40:43 +1000 Subject: [PATCH] add headless option --- playwright.ci.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playwright.ci.config.ts b/playwright.ci.config.ts index a682f8749f..9d4f130935 100644 --- a/playwright.ci.config.ts +++ b/playwright.ci.config.ts @@ -43,7 +43,7 @@ export default defineConfig({ permissions: ['clipboard-write', 'clipboard-read'], }, launchOptions: { - args: process.env.CI ? ['--enable-gpu'] : [], + args: process.env.CI ? ['--headless', '--enable-gpu'] : [], }, }, // or 'chrome-beta' },