Public Vars

Back

get-active-element (clj)

(source)

function

(get-active-element driver)
Have `driver` return the active element on the page. An active element is the one with the current focus. It was selected for example by mouse click, a keyboard (tab, arrows), or `autofocus`. https://www.w3.org/TR/webdriver2/#dfn-get-active-element

Examples