Function When_I_find_elements_by_name

  • When I find elements by name:

    When I find elements by name {string}
    

    A name is not a good substitute for a label so you should generally use "When I find element by label text" instead.

    Parameters

    • name: string

    Returns void

    When I find elements by name "text"
    

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

    When I find elements by name "password"
    And I get 1st element
    And I type "password"