The command to switch focus to the element.
Element.focus() -> Element
py.get(".menu").focus()
# Errors, Pylenium doesn't have a focus() command py.focus()
None
Element - The element that has been focused
Last updated 2 years ago