Playwright Cucumber TS Steps
    Preparing search index...
    • Gets an element by selector and asserts it has the exact text specified.

      Parameters

      • page: any
      • selectorKey: string
      • textKey: string

      Returns Promise<void>

      Then I pw get element by selector "header.title" to have text "Welcome Home"