Playwright Cucumber TS Steps
    Preparing search index...

    Function scrollElementToPosition

    • Scrolls the internal content of a specific element (overflow container) to X, Y coordinates. Supports fixtures for reusable selectors.

      Parameters

      • page: any
      • selectorKey: string
      • x: number
      • y: number

      Returns Promise<void>

      When I pw scroll "chat.chatBox" to position x:0 y:500