Skip to main content

externalPlaywrightPageElement

Playwright-specific implementation of PageElement.

Hierarchy

Index

Constructors

externalconstructor

Properties

externalreadonlylocator

locator: Locator<Locator, any>

Methods

externalof

externalclosestTo

externalenterValue

  • enterValue(value: string | number | (string | number)[]): Promise<void>
  • Parameters

    • externalvalue: string | number | (string | number)[]

    Returns Promise<void>

externalclearValue

  • clearValue(): Promise<void>
  • Returns Promise<void>

externalclick

  • click(): Promise<void>
  • Returns Promise<void>

externaldoubleClick

  • doubleClick(): Promise<void>
  • Returns Promise<void>

externalscrollIntoView

  • scrollIntoView(): Promise<void>
  • Returns Promise<void>

externalhoverOver

  • hoverOver(): Promise<void>
  • Returns Promise<void>

externalrightClick

  • rightClick(): Promise<void>
  • Returns Promise<void>

externalselectOptions

  • Parameters

    Returns Promise<void>

externalselectedOptions

  • Returns Promise<SelectOption[]>

externalattribute

  • attribute(name: string): Promise<string>
  • Parameters

    • externalname: string

    Returns Promise<string>

externaltext

  • text(): Promise<string>
  • Returns Promise<string>

externalvalue

  • value(): Promise<string>
  • Returns Promise<string>

externalhtml

  • html(): Promise<string>
  • Returns Promise<string>

externalswitchTo

externalisActive

  • isActive(): Promise<boolean>
  • Returns Promise<boolean>

externalisClickable

  • isClickable(): Promise<boolean>
  • Returns Promise<boolean>

externalisEnabled

  • isEnabled(): Promise<boolean>
  • Returns Promise<boolean>

externalisSelected

  • isSelected(): Promise<boolean>
  • Returns Promise<boolean>

externalisVisible

  • isVisible(): Promise<boolean>
  • Returns Promise<boolean>

externalnativeElement

  • nativeElement(): Promise<Locator>
  • An "escape hatch" providing access to the integration tool-specific implementation of a Web element.


    Returns Promise<Locator>

externaltoString

  • toString(): string
  • Returns string

externalisPresent

  • isPresent(): Promise<boolean>
  • Returns a Promise that resolves to true when the element is present in the Document Object Model (DOM), false otherwise.


    Returns Promise<boolean>