Function When_I_get_elements_by_selector

  • When I get elements by selector:

    When I get elements by selector {string}
    

    Get DOM elements by selector.

    Parameters

    • selector: string
    • Optionaloptions: DataTable

    Returns void

    Yield all <li> in .list:

    When I get elements by selector ".list > li"
    

    With options:

    When I get element by selector ".dropdown-menu"
    | log | true |
    | timeout | 4000 |
    | withinSubject | null |
    | includeShadowDom | false |