Function When_I_find_link_by_text

  • When I find link by text:

    When I find link by text {string}
    

    Finds first link element that matches text.

    Parameters

    • text: string
    • Optionaloptions: DataTable

    Returns void

    When I find link by text "Link"
    

    With options:

    When I find link by text "Link"
    | log | true |
    | timeout | 4000 |
    | withinSubject | null |
    | includeShadowDom | false |

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

    When I find link by text "Link"
    And I click