Playwright Cucumber TS Steps
    Preparing search index...

    Function expectElementAttributeValue

    • Gets an element by selector and asserts it has the specified attribute with value.

      Parameters

      • page: any
      • selectorKey: string
      • attrKey: string
      • valueKey: string

      Returns Promise<void>

      Then I pw get element by selector "terms.link" to have attribute "href" with value "/terms-and-conditions"