Scrape elements
Point the scrape action at any CSS selector and get back every matching element - its text, inner HTML, size, and attributes. Great for grabbing headlines, prices, or links.
scrape.tsPOST/api/scrape
await env.BROWSER.quickAction("scrape", {
url,
elements: [{ selector: ".titleline > a" }],
})No API tokens, no browser to install. The BROWSER binding talks to a real Chromium over Cloudflare's network.
Scraped elements will appear here