mirror of
https://github.com/microsoft/playwright-mcp.git
synced 2025-07-26 08:32:26 +08:00
docs: provide missing docs (#214)
This commit is contained in:
parent
6a070a0dd8
commit
7695717546
12
README.md
12
README.md
@ -322,6 +322,18 @@ server.connect(transport);
|
||||
- Parameters:
|
||||
- `time` (number): The time to wait in seconds (capped at 10 seconds)
|
||||
|
||||
- **browser_resize**
|
||||
- Description: Resize the browser window
|
||||
- Parameters:
|
||||
- `width` (number): The desired width of the browser window
|
||||
- `height` (number): The desired height of the browser window
|
||||
|
||||
- **browser_handle_dialog**
|
||||
- Description: Handle browser dialogs (alert, confirm, prompt)
|
||||
- Parameters:
|
||||
- `accept` (boolean): Whether to accept or dismiss the dialog
|
||||
- `promptText` (string, optional): Text to enter in case of prompt dialogs
|
||||
|
||||
- **browser_close**
|
||||
- Description: Close the page
|
||||
- Parameters: None
|
||||
|
Loading…
x
Reference in New Issue
Block a user