Skip to main content

Overview

Inspection commands allow you to extract information from elements and check their state.

Get Element Information

get text

Get text content of an element.
ParameterDescription
selectorElement selector
Examples:
Output:

get html

Get innerHTML of an element.
ParameterDescription
selectorElement selector
Examples:
Output:

get value

Get value of an input element.
ParameterDescription
selectorInput element selector
Examples:
Output:

get attr

Get attribute value of an element.
ParameterDescription
selectorElement selector
attributeAttribute name
Examples:
Output:

get title

Get page title. Examples:
Output:

get url

Get current page URL. Examples:
Output:

get count

Count matching elements.
ParameterDescription
selectorElement selector
Examples:
Output:

get box

Get bounding box of an element.
ParameterDescription
selectorElement selector
Examples:
Output:

get styles

Get computed styles of an element.
ParameterDescription
selectorElement selector
Examples:
Output:

Check Element State

is visible

Check if element is visible.
ParameterDescription
selectorElement selector
Examples:
Output:

is enabled

Check if element is enabled.
ParameterDescription
selectorElement selector
Examples:
Output:

is checked

Check if checkbox or radio is checked.
ParameterDescription
selectorCheckbox/radio selector
Examples:
Output:

Workflow Examples

Verify Form Submission

Extract Data

Conditional Logic

JSON Output for Agents