feat(storage): allow passing storage state for isolated contexts (#409)

Fixes https://github.com/microsoft/playwright-mcp/issues/403
Ref https://github.com/microsoft/playwright-mcp/issues/367
This commit is contained in:
Pavel Feldman
2025-05-13 13:14:04 -07:00
committed by GitHub
parent 949f956378
commit ce72367208
6 changed files with 87 additions and 20 deletions

2
config.d.ts vendored
View File

@@ -31,7 +31,7 @@ export type Config = {
/**
* Keep the browser profile in memory, do not save it to disk.
*/
ephemeral?: boolean;
isolated?: boolean;
/**
* Path to a user data directory for browser profile persistence.