• When I clear:

    When I clear
    

    Alias for "When I type":

    When I type "{selectall}{backspace}"
    

    Parameters

    • Optionaloptions: DataTable

    Returns void

    When I clear
    

    With options:

    When I clear
    | animationDistanceThreshold | 5 |
    | force | false |
    | log | true |
    | scrollBehavior | top |
    | timeout | 4000 |
    | waitForAnimations | true |

    A preceding step like "When I find element by label text" is required. For example:

    When I find element by label text "Input"
    And I clear