chore: use persistent profile by default (#41)
Fixes https://github.com/microsoft/playwright-mcp/issues/29
This commit is contained in:
parent
5345a7b4df
commit
6ff4500211
11 changed files with 122 additions and 69 deletions
9
index.d.ts
vendored
9
index.d.ts
vendored
|
|
@ -19,7 +19,16 @@ import type { LaunchOptions } from 'playwright';
|
|||
import type { Server } from '@modelcontextprotocol/sdk/server/index.js';
|
||||
|
||||
type Options = {
|
||||
/**
|
||||
* Path to the user data directory.
|
||||
*/
|
||||
userDataDir?: string;
|
||||
|
||||
/**
|
||||
* Launch options for the browser.
|
||||
*/
|
||||
launchOptions?: LaunchOptions;
|
||||
|
||||
/**
|
||||
* Use screenshots instead of snapshots. Less accurate, reliable and overall
|
||||
* slower, but contains visual representation of the page.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue