cypress-cucumber-steps
    Preparing search index...

    Function When_I_find_element_by_text

    • When I find element by text:

      When I find element by text {string}
      

      Parameters

      • text: string

      Returns void

      When I find element by text "Text"
      

      This precedes steps like "When I click". For example:

      When I find element by text "Text"
      And I click

      Inspired by Testing Library's ByText.