mirror of
https://github.com/microsoft/playwright-mcp.git
synced 2025-07-27 00:52:27 +08:00
fix: default to headful (#305)
See https://github.com/microsoft/playwright-mcp/issues/304
Regressed in
69703cc882
.
This commit is contained in:
parent
9efaea6a1c
commit
1c760b3826
@ -89,7 +89,7 @@ export async function configFromCLIOptions(cliOptions: CLIOptions): Promise<Conf
|
|||||||
const launchOptions: LaunchOptions = {
|
const launchOptions: LaunchOptions = {
|
||||||
channel,
|
channel,
|
||||||
executablePath: cliOptions.executablePath,
|
executablePath: cliOptions.executablePath,
|
||||||
headless: cliOptions.headless,
|
headless: cliOptions.headless ?? false,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (browserName === 'chromium')
|
if (browserName === 'chromium')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user