Version:
interface

elements

Pre-built element accessors for each element type.

Each accessor creates a WindowElementQuery for the specified element type.
Pass a partial description to match elements by properties like title, value, etc.

typescript
interface elements

Methods

button

button(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding Button elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

checkBox

checkBox(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding CheckBox elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

comboBox

comboBox(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding ComboBox elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

group

group(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding Group elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

image

image(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding Image elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

list

list(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding List elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

menu

menu(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding Menu elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

menuBar

menuBar(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding MenuBar elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

menuItem

menuItem(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding MenuItem elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

radioButton

radioButton(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding RadioButton elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

scrollBar

scrollBar(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding ScrollBar elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

slider

slider(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding Slider elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

table

table(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding Table elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

window

window(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding Window elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

application

application(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding Application elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

browser

browser(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding Browser elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

busyIndicator

busyIndicator(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding BusyIndicator elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

cell

cell(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding Cell elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

colorWell

colorWell(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding ColorWell elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

column

column(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding Column elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

dateField

dateField(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding DateField elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

disclosureTriangle

disclosureTriangle(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding DisclosureTriangle elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

dockItem

dockItem(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding DockItem elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

drawer

drawer(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding Drawer elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

grid

grid(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding Grid elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

growArea

growArea(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding GrowArea elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

handle

handle(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding Handle elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

heading

heading(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding Heading elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

helpTag

helpTag(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding HelpTag elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

incrementor

incrementor(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding Incrementor elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

layoutArea

layoutArea(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding LayoutArea elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

layoutItem

layoutItem(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding LayoutItem elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

levelIndicator

levelIndicator(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding LevelIndicator elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

matte

matte(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding Matte elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

menuBarItem

menuBarItem(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding MenuBarItem elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

menuButton

menuButton(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding MenuButton elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

outline

outline(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding Outline elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

popover

popover(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding Popover elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

popUpButton

popUpButton(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding PopUpButton elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

progressIndicator

progressIndicator(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding ProgressIndicator elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

radioGroup

radioGroup(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding RadioGroup elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

relevanceIndicator

relevanceIndicator(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding RelevanceIndicator elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

row

row(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding Row elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

ruler

ruler(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding Ruler elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

rulerMarker

rulerMarker(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding RulerMarker elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

scrollArea

scrollArea(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding ScrollArea elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

sheet

sheet(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding Sheet elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

splitGroup

splitGroup(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding SplitGroup elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

splitter

splitter(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding Splitter elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

staticText

staticText(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding StaticText elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

systemWide

systemWide(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding SystemWide elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

tabGroup

tabGroup(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding TabGroup elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

textArea

textArea(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding TextArea elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

textField

textField(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding TextField elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

timeField

timeField(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding TimeField elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

toolbar

toolbar(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding Toolbar elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

unknown

unknown(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding Unknown elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

valueIndicator

valueIndicator(description: Omit<WindowElementDescription, "type">): WindowElementQuery

Creates a WindowElementQuery for finding ValueIndicator elements.

Parameters

descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)

Was this page helpful?