cloudflare.scrapeElements extracts rendered element content and geometry for CSS selectors.
automations/scrape-cloudflare-elements.automation.ts
Inputs
ProvideaccountId, one or more elements with a non-empty CSS selector, and exactly one of url or html. cacheTtl defaults to 5 seconds. The common Browser Run timeout, request, authentication, page-setup, viewport, navigation, and wait controls are also available.
Output
Returns one entry per selector. Each entry contains aresults array with every matched element’s text, HTML, attributes, position, width, and height. The action consumes Browser Run duration and is not replay-safe.