Playwright Cucumber TS Steps
    Preparing search index...

    Function expectElementToHaveClassContaining

    • Gets an element by selector and asserts it has a class containing the specified text.

      Parameters

      • page: any
      • selectorKey: string
      • classKey: string

      Returns Promise<void>

      Then I pw get element by selector "button.primary" to have class containing "active"