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