Launch args passed to Chromium for both the CDP pre-launch spawn and the playwright fallback launch.
Goal: eliminate every startup cost and background service that has no meaning in a headless test context, without touching anything that affects how user test code executes.
Anything that changes observable JS behaviour (e.g. CORS policy, storage partitioning, service worker behaviour) is intentionally left at its default so user test suites behave the same as they would in a real browser.
import * as Chrome from './index.ts'; Chrome.CHROMIUM_ARGS.includes('--no-sandbox'); // true — required in most CI containers Chrome.CHROMIUM_ARGS.filter((arg) => arg.startsWith('--disable-features=')).length; // 1