Navigate
surfsky_navigateOpen URLs, go back, forward, or reload in a browser tab, returning the final URL, HTTP status, and interactive element snapshot with refs. For pages needing clicks, forms, scrolling, or login.
Instructions
Open a URL in the session's active tab (or go back, forward or reload) and return where it landed: final url, HTTP status, navigated, and a snapshot of the visible interactive elements with @N refs for surfsky_act. Use it for a page that needs clicks, scrolling, a form or a login; for a page you only need to read once, surfsky_scrape is cheaper and starts no session. Without session_id it uses the shared default session, starting one on first use. A status of 200 does not prove the real page loaded: bot challenges and interstitials return 200 too, so check the title and snapshot for the expected content before repeating a submission. The snapshot holds up to 300 rows; surfsky_snapshot with a higher limit lists the rest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| go | No | History step instead of a URL: 'back', 'forward' or 'reload'. | |
| url | No | URL to open; https:// is added when the scheme is missing. Give url or go, not both. | |
| timeout | No | Seconds to wait for the navigation (default 30). | |
| snapshot | No | Include a fresh snapshot of interactive elements in the result (default true). | |
| session_id | No | Session from surfsky_session_start. Omit for the shared default session, started on first use. | |
| wait_until | No | Load state that ends the navigation: 'load' (default), 'domcontentloaded' (faster on heavy pages; then surfsky_wait for what you need), 'commit' (first response received), 'networkidle' (no requests for a while; busy pages never reach it and time out). | load |