Function Then_I_see_button

  • Then I see button:

    Then I see button {string}
    

    Assert button with text exists and is visible in the screen.

    Parameters

    • text: string
    • Optional options: default

    Returns void

    Example

    Then I see button "Button"
    

    With options:

    Then I see button "Button"
    | log | true |
    | timeout | 4000 |
    | withinSubject | null |
    | includeShadowDom | false |

    See