docs: provide missing docs (#214)

This commit is contained in:
Pavel Feldman 2025-04-17 14:49:22 -07:00 committed by GitHub
parent 6a070a0dd8
commit 7695717546
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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