fetchpage
Retrieve content from JavaScript-heavy web pages using browser automation, with automatic cookie management and CSS selector extraction for targeted results.
Instructions
Fetch web pages using browser automation with full JavaScript rendering. Supports automatic cookie management, localStorage, CSS selectors, and dynamic content. Cookies are automatically loaded from local storage if available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to fetch | |
| timeout | No | Timeout in milliseconds (default: 30000) | |
| waitFor | No | CSS selector to extract specific content only (optional, extracts only content within this selector) | |
| headless | No | Run browser in headless mode (optional, default: true) |