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:
Pavel Feldman 2025-05-12 18:18:53 -07:00 committed by GitHub
parent a1eee8351e
commit 949f956378
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 130 additions and 42 deletions

5
config.d.ts vendored
View file

@ -28,6 +28,11 @@ export type Config = {
*/
browserName?: 'chromium' | 'firefox' | 'webkit';
/**
* Keep the browser profile in memory, do not save it to disk.
*/
ephemeral?: boolean;
/**
* Path to a user data directory for browser profile persistence.
* Temporary directory is created by default.