new_session | Create a new browser session with optional device emulation. Returns a session_id for subsequent operations. Use storage_state_path to restore a previ | |
save_storage_state | Save the browser session's storage state (cookies, localStorage, IndexedDB) to a file. Use this after logging in to cache the session for fast restore | |
close_session | Close a browser session. Omit session_id entirely to close ALL open sessions. | |
navigate | Navigate to a URL in an existing browser session.
Examples:
- Navigate to a specific page: url="https://example.com/login"
- Stay at current page and | |
get_page_info | Get basic page information (URL and title) without taking a screenshot.
Use this as a lightweight way to check what page you're on.
For visual inspec | |
inspect_page | Inspect the current page: extracts the DOM tree and saves a Set-of-Mark screenshot.
Returns the DOM file path (with element indices [0], [1], etc. fo | |
act | Execute browser actions using element indices from inspect_page.
CRITICAL: Before your first act call, you MUST read resource 'shiplight://schemas/ac | |
get_locators | Extract Playwright locators for one or more elements by index. Call inspect_page first.
Returns locator, xpath, frame path, tag name, and text for ea | |
get_browser_console_logs | Get console logs from the browser (errors, warnings, etc.) | |
get_browser_network_logs | Get network request logs from the browser | |
generate_html_report | Generate a self-contained HTML session report. Can be called while the session is live OR after close_session. Embeds per-step screenshots, an optiona | |
attach_to_browser | Connect to a browser for testing. Two modes:
1. Direct CDP: pass cdp_url (e.g. from a debugger's /api/browser-cdp endpoint) to connect directly via Ch | |