externalPlaywrightPageElement
Hierarchy
- PageElement<playwright.Locator>
- PlaywrightPageElement
Index
Constructors
externalconstructor
Parameters
externallocator: Locator<Locator, any>
Returns PlaywrightPageElement
Properties
externalreadonlylocator
Methods
externalof
Parameters
externalparent: PageElement<Locator>
Returns PageElement<Locator>
externalclosestTo
Parameters
externalchild: PageElement<Locator>
Returns PageElement<Locator>
externalenterValue
Parameters
externalvalue: string | number | (string | number)[]
Returns Promise<void>
externalclearValue
Returns Promise<void>
externalclick
Returns Promise<void>
externaldoubleClick
Returns Promise<void>
externalscrollIntoView
Returns Promise<void>
externalhoverOver
Returns Promise<void>
externalrightClick
Returns Promise<void>
externalselectOptions
Parameters
externalrest...options: SelectOption[]
Returns Promise<void>
externalselectedOptions
Returns Promise<SelectOption[]>
externalattribute
Parameters
externalname: string
Returns Promise<string>
externaltext
Returns Promise<string>
externalvalue
Returns Promise<string>
externalhtml
Returns Promise<string>
externalswitchTo
Returns Promise<SwitchableOrigin>
externalisActive
Returns Promise<boolean>
externalisClickable
Returns Promise<boolean>
externalisEnabled
Returns Promise<boolean>
externalisSelected
Returns Promise<boolean>
externalisVisible
Returns Promise<boolean>
externalnativeElement
An "escape hatch" providing access to the integration tool-specific implementation of a Web element.
Returns Promise<Locator>
externaltoString
Returns string
externalisPresent
Returns a
Promise
that resolves totrue
when the element is present in the Document Object Model (DOM),false
otherwise.Returns Promise<boolean>
Playwright-specific implementation of
PageElement
.