Playwright Cucumber TS Steps
    Preparing search index...

    Function findElementBySelector

    • Finds a single element using a CSS or XPath selector. Asserts that exactly one element is found.

      Parameters

      • page: any
      • selectorKey: string

      Returns Promise<void>

      When I pw find element by selector ".nav-bar"