Get the interactive structure of a page
domscout_inspect_pageInspect any public web page to get a semantic snapshot: accessibility tree, interactive elements, and CSS selectors. Use this pre-automation step to identify targets before scripting browser actions.
Instructions
Costs 2 credits. Returns a semantic snapshot: the accessibility tree, the interactive elements, and a selector for each. Use this before domscout_automate_page to find out what is on the page and what to target. Requires Pro or above.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The page to load. Must be http(s) and publicly reachable. Credentials in the URL (https://user:pass@host) are rejected; these tools capture as an anonymous visitor, so use the REST API directly if the page needs authentication. | |
| delay | No | Extra milliseconds to wait after load. | |
| detail | No | "full" is slower and always returns asynchronously. | summary |
| maxNodes | No | ||
| waitForSelector | No | Wait for this CSS selector to appear before capturing. |