scrape_content
Extract text, HTML, links, or images from a browser page using CSS selectors. Waits for dynamic content before extraction.
Instructions
[LEGACY] Scrape content from the current page. Use navigate_and_scrape instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Browser session ID to scrape content from. Session must already exist and be on the desired page | |
| selector | No | CSS selector to limit extraction to specific elements. If provided, only content within matching elements will be extracted | |
| wait_for_selector | No | CSS selector to wait for before extracting content. Useful for dynamic content that loads after navigation | |
| extract_text | No | Whether to extract text content from the page. Useful for content analysis and AI processing | |
| extract_html | No | Whether to extract raw HTML content. Useful for detailed page analysis or when text extraction isn't sufficient | |
| extract_links | No | Whether to extract all links from the page. Returns array of {text, href} objects | |
| extract_images | No | Whether to extract all images from the page. Returns array of {alt, src} objects |