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:
parent
949f956378
commit
ce72367208
6 changed files with 87 additions and 20 deletions
|
|
@ -28,7 +28,8 @@ program
|
|||
.option('--browser <browser>', 'Browser or chrome channel to use, possible values: chrome, firefox, webkit, msedge.')
|
||||
.option('--caps <caps>', 'Comma-separated list of capabilities to enable, possible values: tabs, pdf, history, wait, files, install. Default is all.')
|
||||
.option('--cdp-endpoint <endpoint>', 'CDP endpoint to connect to.')
|
||||
.option('--ephemeral', 'Keep the browser profile in memory, do not save it to disk.')
|
||||
.option('--isolated', 'Keep the browser profile in memory, do not save it to disk.')
|
||||
.option('--storage-state <path>', 'Path to the storage state file for isolated sessions.')
|
||||
.option('--executable-path <path>', 'Path to the browser executable.')
|
||||
.option('--headless', 'Run browser in headless mode, headed by default')
|
||||
.option('--device <device>', 'Device to emulate, for example: "iPhone 15"')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue