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.
interface elementsMethods
button
button(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Button elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerycheckBox
checkBox(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding CheckBox elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerycomboBox
comboBox(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding ComboBox elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerygroup
group(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Group elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQueryimage
image(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Image elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerylist
list(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding List elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerymenu
menu(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Menu elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerymenuBar
menuBar(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding MenuBar elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerymenuItem
menuItem(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding MenuItem elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQueryradioButton
radioButton(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding RadioButton elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQueryscrollBar
scrollBar(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding ScrollBar elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQueryslider
slider(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Slider elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerytable
table(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Table elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerywindow
window(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Window elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQueryappBar
appBar(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding AppBar elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerycalendar
calendar(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Calendar elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerycustomControl
customControl(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding CustomControl elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerydataGrid
dataGrid(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding DataGrid elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerydataItem
dataItem(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding DataItem elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerydocument
document(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Document elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQueryeditField
editField(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding EditField elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQueryheader
header(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Header elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQueryheaderItem
headerItem(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding HeaderItem elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerylink
link(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Link elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerylistItem
listItem(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding ListItem elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerypane
pane(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Pane elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQueryprogressBar
progressBar(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding ProgressBar elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerysemanticZoom
semanticZoom(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding SemanticZoom elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQueryseparator
separator(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Separator elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQueryspinner
spinner(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Spinner elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerysplitButton
splitButton(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding SplitButton elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerystatusBar
statusBar(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding StatusBar elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerytab
tab(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Tab elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerytabItem
tabItem(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding TabItem elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerytextBox
textBox(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding TextBox elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerythumb
thumb(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Thumb elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerytitleBar
titleBar(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding TitleBar elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerytoolBar
toolBar(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding ToolBar elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerytoolTip
toolTip(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding ToolTip elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerytree
tree(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Tree elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerytreeItem
treeItem(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding TreeItem elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQueryWas this page helpful?