Skip to main content

externalabstractLocator <Native_Element_Type, Native_Selector_Type>

Hierarchy

Index

Properties

publicexternalreadonlyselector

selector: Selector

external[custom]

[custom]: (depth: number, options: InspectOptionsStylized, inspect: typeof inspect) => string = ...

Type declaration

    • (depth: number, options: InspectOptionsStylized, inspect: typeof inspect): string
    • Parameters

      • externaldepth: number
      • externaloptions: InspectOptionsStylized
      • externalinspect: typeof inspect

      Returns string

Methods

publicexternalabstractnativeElement

  • nativeElement(): Promise<Native_Element_Type>
  • Returns Promise<Native_Element_Type>

publicexternalabstractallNativeElements

  • allNativeElements(): Promise<Native_Element_Type[]>
  • Returns Promise<Native_Element_Type[]>

externalswitchToFrame

  • switchToFrame(element: Native_Element_Type): Promise<void>
  • Parameters

    • externalelement: Native_Element_Type

    Returns Promise<void>

externalswitchToParentFrame

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

externalswitchToMainFrame

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

externalabstractof

  • Parameters

    Returns Locator<Native_Element_Type, any>

externalabstractclosestTo

  • closestTo(child: Locator<Native_Element_Type, any>): Locator<Native_Element_Type, any>
  • Parameters

    • externalchild: Locator<Native_Element_Type, any>

    Returns Locator<Native_Element_Type, any>

externalabstractlocate

  • locate(child: Locator<Native_Element_Type, any>): Locator<Native_Element_Type, any>
  • Parameters

    • externalchild: Locator<Native_Element_Type, any>

    Returns Locator<Native_Element_Type, any>

externalabstractelement

externalabstractallElements

  • allElements(): Promise<PageElement<Native_Element_Type>[]>

externaltoString

  • toString(): string
  • Returns string

publicexternalabstractisPresent

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