fix: default to headful (#305)

See https://github.com/microsoft/playwright-mcp/issues/304

Regressed in
69703cc882.
This commit is contained in:
Simon Knott
2025-04-30 12:23:30 +02:00
committed by GitHub
parent 9efaea6a1c
commit 1c760b3826

View File

@@ -89,7 +89,7 @@ export async function configFromCLIOptions(cliOptions: CLIOptions): Promise<Conf
const launchOptions: LaunchOptions = {
channel,
executablePath: cliOptions.executablePath,
headless: cliOptions.headless,
headless: cliOptions.headless ?? false,
};
if (browserName === 'chromium')