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
Yields
Last updated
The command to switch focus to the element.
Element.focus() -> Elementpy.get(".menu").focus()# Errors, Pylenium doesn't have a focus() command
py.focus()Last updated