externalabstractRootLocator <Native_Element_Type>
Hierarchy
- RootLocator
Implements
Index
Constructors
Properties
Methods
Constructors
externalconstructor
Type parameters
- Native_Element_Type
Returns RootLocator<Native_Element_Type>
Properties
external[custom]
Type declaration
Parameters
externaldepth: number
externaloptions: InspectOptionsStylized
externalinspect: typeof inspect
Returns string
Methods
publicexternalabstractswitchToFrame
Parameters
externalelement: Native_Element_Type
Returns Promise<void>
publicexternalabstractswitchToParentFrame
Returns Promise<void>
publicexternalabstractswitchToMainFrame
Returns Promise<void>
publicexternalabstractisPresent
Returns Promise<boolean>
publicexternalabstractnativeElement
Returns Promise<Partial<Native_Element_Type>>
externaltoString
Returns string
RootLocator
represents the context in whichLocator
looks forPageElement
orPageElement
. This context is either a parent element, or some representation of the top-level browsing context.Learn more
Locator
Page.locate
PageElement
PageElement