API Reference
BrowserElement
Defined in: tools/builtin/builtin.types.ts:473
One interactive element exposed in a BrowserSnapshot.
Remarks
The model targets elements by their ref — a stable handle the backend assigns — rather than by CSS selector or pixel coordinate. This is the accessibility/DOM-snapshot flavor of browser control (as in Playwright), the better fit for a text-first agent than a screenshot/pixel flavor.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
name | string | Accessible name / visible label of the element. | tools/builtin/builtin.types.ts:479 |
ref | string | Opaque handle the model passes back to browser_click / browser_type. | tools/builtin/builtin.types.ts:475 |
role | string | ARIA role, e.g. button, link, textbox. | tools/builtin/builtin.types.ts:477 |