go
One-shot browser navigation tool. Creates a new context, navigates to the URL, waits for page load, extracts the HTML, and closes the context. Optimized for single-page scraping or rendering tasks. Supports both GET and POST requests.
Usage Example
Parameters
Required
urlstringrequiredThe full URL to navigate to, including protocol (e.g., 'https://example.com'). Supports http://, https://, file://, and data: URLs
Optional
wait_untilenumloaddomcontentloadednetworkidle+1 moreWhen to consider navigation complete: '' (return immediately), 'load' (wait for load event), 'domcontentloaded' (wait for DOMContentLoaded), 'networkidle' (wait for network to be idle, default), 'fullscroll' (scroll full page to trigger lazy loading, then scroll back to top)
timeoutintegerMaximum time to wait for navigation in milliseconds. Default: 30000 (30 seconds)
outputenumhtmltextmarkdownpngView+1 moreOutput format. html=raw HTML, text=extracted text, markdown=markdown conversion, pngView=viewport screenshot as PNG image, pngFull=fullpage screenshot as PNG image. Default: html
osenumwindowsmacoslinuxFilter profiles by operating system. Options: 'windows', 'macos', 'linux'
use_torbooleanUse TOR proxy for anonymous browsing. Each request gets a unique exit IP. Default: false
Response
Returns a JSON object with the operation result.
{
"success": true,
"result": <value>
}