Function When_I_find_inputs_by_name

  • When I find inputs by name:

    When I find inputs 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 inputs by name "text"
    

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

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