Version:
interface

WindowElementDescription

Description for matching window elements.
All properties are optional - only specified properties are matched.

typescript
interface WindowElementDescription

Properties

NameTypeDescription
after?{ by: { description: WindowElementDescription }; id: string; type: "window-element" }-
ancestorOf?{ by: { description: WindowElementDescription }; id: string; type: "window-element" }-
before?{ by: { description: WindowElementDescription }; id: string; type: "window-element" }-
className?string | RegExp-
descendantOf?{ by: { description: WindowElementDescription }; id: string; type: "window-element" }-
expandCollapsedState?"COLLAPSED" | "TRANSITIONING" | "EXPANDED"-
firstChild?boolean-
helpText?string | RegExp-
id?string | RegExp-
in?{ by: { description: WindowElementDescription }; id: string; type: "window-element" }-
isChecked?boolean-
isDataValidForForm?boolean-
isEnabled?boolean-
isFocused?boolean-
isKeyboardFocusable?boolean-
isReadOnly?boolean-
isRequiredForForm?boolean-
isSelected?boolean-
isVisible?boolean-
lastChild?boolean-
notMatching?{ by: { description: WindowElementDescription }; id: string; type: "window-element" }-
nthChild?number-
role?string-
selectedText?string | RegExp-
siblingOf?{ by: { description: WindowElementDescription }; id: string; type: "window-element" }-
title?string | RegExp-
type?string-
value?string | RegExp-

Was this page helpful?