diff --git a/README.md b/README.md index 023c883..d562cf3 100644 --- a/README.md +++ b/README.md @@ -562,6 +562,7 @@ http.createServer(async (req, res) => { - `timezone` (string, optional): Timezone ID (e.g., "America/New_York", "Europe/London", "Asia/Tokyo") - `colorScheme` (string, optional): Preferred color scheme - `permissions` (array, optional): Permissions to grant (e.g., ["geolocation", "notifications", "camera", "microphone"]) + - `offline` (boolean, optional): Whether to emulate offline network conditions (equivalent to DevTools offline mode) - Read-only: **false** @@ -756,6 +757,15 @@ http.createServer(async (req, res) => { +- **browser_set_offline** + - Title: Set browser offline mode + - Description: Toggle browser offline mode on/off (equivalent to DevTools offline checkbox) + - Parameters: + - `offline` (boolean): Whether to enable offline mode (true) or online mode (false) + - Read-only: **false** + + + - **browser_snapshot** - Title: Page snapshot - Description: Capture complete accessibility snapshot of the current page. Always returns full snapshot regardless of session snapshot configuration. Better than screenshot for understanding page structure.