From 7695717546b89dcd2c82d3e278d2457470068882 Mon Sep 17 00:00:00 2001 From: Pavel Feldman Date: Thu, 17 Apr 2025 14:49:22 -0700 Subject: [PATCH] docs: provide missing docs (#214) --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 95f5fcd..6db3787 100644 --- a/README.md +++ b/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