docs: update README with browser_set_offline and offline mode documentation

- Add browser_set_offline tool documentation
- Document offline parameter in browser_configure tool
- Auto-generated tool documentation now includes all new features
This commit is contained in:
Ryan Malloy 2025-09-01 12:09:07 -06:00
parent afaa8a7014
commit f31b9778c9

View File

@ -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**
<!-- NOTE: This has been generated via update-readme.js -->
@ -756,6 +757,15 @@ http.createServer(async (req, res) => {
<!-- NOTE: This has been generated via update-readme.js -->
- **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**
<!-- NOTE: This has been generated via update-readme.js -->
- **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.