Options
All
  • Public
  • Public/Protected
  • All
Menu

Wrapper for element. Supports context model. If custom context (Frame or another Page) would be defined, it would be used, otherwise would be used default context.

Hierarchy

  • ElementBaseDriver

Index

Element Base

getBoundingBox

  • getBoundingBox(): Promise<BoundingBox>

isExistWithWait

  • isExistWithWait(timeout?: number): Promise<boolean>
  • Checks if element does exist after wait. Useful when you expect when you do some action and want to check if element is still not appeared after it.

    Parameters

    • timeout: number = ...

    Returns Promise<boolean>

waitForPositionToBeStable

  • waitForPositionToBeStable(innerSelector?: string): Promise<void>

waitToBeHidden

  • waitToBeHidden(innerSelector?: string): Promise<null | void | ElementHandle<Element>>

waitToBeShown

  • waitToBeShown(): Promise<ElementHandle<Element>>

Other

context

context: DocumentContext = ...

Abstract rootSelector

  • get rootSelector(): string

Generated using TypeDoc