Tell your AI what to do
You don't write code to use Scout. Just tell your AI what you need, in Cursor, Claude, VS Code, or any agent client.
“Go to techcrunch.com and extract the top 5 headlines with their URLs as JSON”
“Navigate to the signup page, fill in the form with test data, and submit it”
“Take screenshots of our landing page at mobile, tablet, and desktop sizes”
“Open staging.example.com and report any console errors or failed network requests”
“Crawl our docs site and list every page that mentions "rate limiting"”
“Log into the dashboard, navigate to billing, and download the latest invoice as PDF”
“Check if the hero banner on our homepage is rendering correctly in both light and dark mode”
“Go to three competitor pricing pages and extract their plan names, prices, and feature lists”
Code examples
Real-world automation patterns using Scout's MCP tools. Copy these directly into your agent code.
extract-data.tsTYPESCRIPTQuickstart snippets
Small examples for the browser automation loop.
MCP tokenJSONProgrammatic client fallbackTYPESCRIPTEnd-to-end recipes
Choose a workflow to see its steps and example code.
Navigate to a page and extract content using DOM property extraction.
- Navigate to the target URL
- Snapshot the main content area with decorative filtering
- Use browser-extract with property: 'article' for clean content or 'text' for element text
Extract Structured DataTYPESCRIPTFill form fields and submit using element refs from the accessibility snapshot.
- Snapshot the page to discover form field refs
- Fill each field using browser-interact with action: fill
- Click the submit button
- Re-snapshot to verify the result
Fill and Submit FormsTYPESCRIPTBlock unnecessary resources and crawl multiple pages for bulk content extraction.
- Set up route interception to block images, fonts, and CSS
- Navigate to the starting page
- Use browser-crawl with an extraction expression
Efficient Multi-Page CrawlingTYPESCRIPTSet viewport size, user agent, and network throttling to test responsive design and performance.
- Resize viewport to mobile dimensions with browser-resize
- Set user agent and locale with browser-emulate
- Apply network throttling with custom throughput and latency values
- Navigate and capture a full-page screenshot
- Collect performance metrics
Mobile Device TestingTYPESCRIPTHandle file downloads, attachments, and clipboard operations in automated workflows.
- Use browser-download to wait for and capture downloads
- Use browser-attach to attach files to <input type='file'> elements
- Use browser-evaluate for clipboard access
File & Clipboard OperationsTYPESCRIPT