Function When_I_get_focused_element

  • When I get focused element:

    When I get focused element
    

    Get the DOM element that is currently focused.

    Returns void

    When I get focused element
    

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

    When I get focused element
    And I type "something"