externalabstractLocator <Native_Element_Type, Native_Selector_Type>
Hierarchy
- RootLocator<Native_Element_Type>
- Locator
Index
Properties
publicexternalreadonlyselector
external[custom]
Custom Node.js inspection method.
Type declaration
Parameters
externaldepth: number
externaloptions: InspectOptionsStylized
externalinspect: typeof inspect
Returns string
Methods
publicexternalabstractnativeElement
Returns Promise<Native_Element_Type>
publicexternalabstractallNativeElements
Returns Promise<Native_Element_Type[]>
externalswitchToFrame
Parameters
externalelement: Native_Element_Type
Returns Promise<void>
externalswitchToParentFrame
Returns Promise<void>
externalswitchToMainFrame
Returns Promise<void>
externalabstractof
Parameters
externalparent: RootLocator<Native_Element_Type>
Returns Locator<Native_Element_Type, any>
externalabstractclosestTo
externalabstractlocate
externalabstractelement
Returns PageElement<Native_Element_Type>
externalabstractallElements
Returns Promise<PageElement<Native_Element_Type>[]>
externaltoString
Returns string
publicexternalabstractisPresent
Returns Promise<boolean>
Locator
uses aSelector
to locate aPageElement
orPageElement
within thePage
.Learn more
RootLocator
Page.locate
PageElement
PageElement