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
WindowElementQueryapplication
application(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Application elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerybrowser
browser(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Browser elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerybusyIndicator
busyIndicator(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding BusyIndicator elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerycell
cell(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Cell elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerycolorWell
colorWell(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding ColorWell elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerycolumn
column(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Column elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerydateField
dateField(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding DateField elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerydisclosureTriangle
disclosureTriangle(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding DisclosureTriangle elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerydockItem
dockItem(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding DockItem elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerydrawer
drawer(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Drawer elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerygrid
grid(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Grid elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerygrowArea
growArea(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding GrowArea elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQueryhandle
handle(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Handle elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQueryheading
heading(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Heading elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQueryhelpTag
helpTag(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding HelpTag elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQueryincrementor
incrementor(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Incrementor elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerylayoutArea
layoutArea(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding LayoutArea elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerylayoutItem
layoutItem(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding LayoutItem elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerylevelIndicator
levelIndicator(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding LevelIndicator elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerymatte
matte(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Matte elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerymenuBarItem
menuBarItem(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding MenuBarItem elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerymenuButton
menuButton(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding MenuButton elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQueryoutline
outline(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Outline elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerypopover
popover(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Popover elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerypopUpButton
popUpButton(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding PopUpButton elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQueryprogressIndicator
progressIndicator(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding ProgressIndicator elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQueryradioGroup
radioGroup(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding RadioGroup elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQueryrelevanceIndicator
relevanceIndicator(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding RelevanceIndicator elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQueryrow
row(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Row elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQueryruler
ruler(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Ruler elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQueryrulerMarker
rulerMarker(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding RulerMarker elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQueryscrollArea
scrollArea(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding ScrollArea elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerysheet
sheet(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Sheet elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerysplitGroup
splitGroup(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding SplitGroup elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerysplitter
splitter(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Splitter elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerystaticText
staticText(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding StaticText elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerysystemWide
systemWide(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding SystemWide elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerytabGroup
tabGroup(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding TabGroup elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerytextArea
textArea(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding TextArea elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerytextField
textField(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding TextField elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQuerytimeField
timeField(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding TimeField 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
WindowElementQueryunknown
unknown(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding Unknown elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQueryvalueIndicator
valueIndicator(description: Omit<WindowElementDescription, "type">): WindowElementQueryCreates a WindowElementQuery for finding ValueIndicator elements.
Parameters
descriptionOmit<WindowElementDescription, "type">Partial description to match elements (title, value, etc.)Returns
WindowElementQueryWas this page helpful?