externalPlaywrightLocator
Hierarchy
- Locator<playwright.Locator, string>
- PlaywrightLocator
Index
Constructors
externalconstructor
Parameters
externalparent: RootLocator<Locator>
externalselector: Selector
Returns PlaywrightLocator
Properties
externalreadonlyselector
external[custom]
Custom Node.js inspection method.
Type declaration
Parameters
externaldepth: number
externaloptions: InspectOptionsStylized
externalinspect: typeof inspect
Returns string
Methods
externalisPresent
Returns Promise<boolean>
externalnativeElement
Returns Promise<Locator>
externalallNativeElements
Returns Promise<Locator[]>
externalof
Parameters
externalparent: PlaywrightRootLocator
Returns Locator<Locator, string>
externalclosestTo
Parameters
externalchild: PlaywrightLocator
Returns Locator<Locator, string>
externallocate
Parameters
externalchild: PlaywrightLocator
Returns Locator<Locator, string>
externalelement
Returns PageElement<Locator>
externalallElements
Returns Promise<PageElement<Locator>[]>
externalswitchToFrame
Parameters
externalelement: Locator
Returns Promise<void>
externalswitchToParentFrame
Returns Promise<void>
externalswitchToMainFrame
Returns Promise<void>
externaltoString
Returns string
Playwright-specific implementation of
Locator
.