Skip to main content

externalWebdriverIOPageElement

WebdriverIO-specific implementation of PageElement.

Hierarchy

Index

Constructors

externalconstructor

Properties

externalreadonlylocator

locator: Locator<Element, any>

Methods

externalnativeElement

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


    Returns Promise<Element>

externaltoString

  • toString(): string
  • Returns string

externalof

externalclosestTo

externalclearValue

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

externalclick

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

externaldoubleClick

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

externalenterValue

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

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

    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>

externalisPresent

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

externalisSelected

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

externalisVisible

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