browser_is_enabled
Summary: Browser Is Enabled
POST /api/execute/browser_is_enabledChecks whether an interactive form control or button is currently enabled for user input rather than disabled. Callers can locate the control using an OwlMark token, a CSS query with optional nth disambiguation, pixel coordinates, or a semantic description. After resolving the DOM node, the engine evaluates its boolean disabled property, checks whether an enclosing fieldset element cascades a disabled state, and inspects aria-disabled metadata in the accessibility tree. The response returns boolean true when the control accepts focus and pointer activation, or false when interaction is prohibited. Workflows poll this predicate to verify that submit buttons unlock after required form inputs are populated.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| context_id | string | yes | Active workspace handle where the control's enabled status is inspected. |
| selector | string | yes | Interactive control located through OwlMark handle, CSS expression, XxY coordinates, or semantic label. |
Usage
result = await browser.is_enabled(context_id=context_id, selector="#element-id")