feat(ephemeral): allow for non-persistent context operation (#405)
Ref: https://github.com/microsoft/playwright-mcp/issues/367 Ref: https://github.com/microsoft/playwright-mcp/issues/393
This commit is contained in:
parent
a1eee8351e
commit
949f956378
8 changed files with 130 additions and 42 deletions
|
|
@ -28,6 +28,7 @@ export type CLIOptions = {
|
|||
browser?: string;
|
||||
caps?: string;
|
||||
cdpEndpoint?: string;
|
||||
ephemeral?: boolean;
|
||||
executablePath?: string;
|
||||
headless?: boolean;
|
||||
device?: string;
|
||||
|
|
@ -106,6 +107,7 @@ export async function configFromCLIOptions(cliOptions: CLIOptions): Promise<Conf
|
|||
return {
|
||||
browser: {
|
||||
browserName,
|
||||
ephemeral: cliOptions.ephemeral,
|
||||
userDataDir: cliOptions.userDataDir,
|
||||
launchOptions,
|
||||
contextOptions,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue