browser_get_dom
Retrieve the page DOM structure to identify interactive elements, read text content, and understand layout for browser automation tasks.
Instructions
Get the page DOM structure. Returns interactive elements with their text, roles, and positions. This is the primary way to understand what is on the page — use it to find elements to click, read text content, and understand page layout. Faster and more detailed than screenshots.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | Scope to a CSS selector | |
| simplified | No | Return simplified interactive elements (default: true) |