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.)

appBar

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

Creates a WindowElementQuery for finding AppBar elements.

Parameters

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

calendar

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

Creates a WindowElementQuery for finding Calendar elements.

Parameters

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

customControl

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

Creates a WindowElementQuery for finding CustomControl elements.

Parameters

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

dataGrid

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

Creates a WindowElementQuery for finding DataGrid elements.

Parameters

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

dataItem

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

Creates a WindowElementQuery for finding DataItem elements.

Parameters

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

document

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

Creates a WindowElementQuery for finding Document elements.

Parameters

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

editField

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

Creates a WindowElementQuery for finding EditField elements.

Parameters

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

header

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

Creates a WindowElementQuery for finding Header elements.

Parameters

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

headerItem

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

Creates a WindowElementQuery for finding HeaderItem elements.

Parameters

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

link

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

Creates a WindowElementQuery for finding Link elements.

Parameters

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

listItem

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

Creates a WindowElementQuery for finding ListItem elements.

Parameters

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

pane

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

Creates a WindowElementQuery for finding Pane elements.

Parameters

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

progressBar

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

Creates a WindowElementQuery for finding ProgressBar elements.

Parameters

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

semanticZoom

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

Creates a WindowElementQuery for finding SemanticZoom elements.

Parameters

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

separator

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

Creates a WindowElementQuery for finding Separator elements.

Parameters

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

spinner

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

Creates a WindowElementQuery for finding Spinner elements.

Parameters

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

splitButton

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

Creates a WindowElementQuery for finding SplitButton elements.

Parameters

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

statusBar

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

Creates a WindowElementQuery for finding StatusBar elements.

Parameters

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

tab

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

Creates a WindowElementQuery for finding Tab elements.

Parameters

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

tabItem

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

Creates a WindowElementQuery for finding TabItem elements.

Parameters

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

textBox

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

Creates a WindowElementQuery for finding TextBox elements.

Parameters

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

thumb

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

Creates a WindowElementQuery for finding Thumb elements.

Parameters

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

titleBar

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

Creates a WindowElementQuery for finding TitleBar 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.)

toolTip

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

Creates a WindowElementQuery for finding ToolTip elements.

Parameters

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

tree

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

Creates a WindowElementQuery for finding Tree elements.

Parameters

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

treeItem

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

Creates a WindowElementQuery for finding TreeItem elements.

Parameters

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

Was this page helpful?