is_selected
The command that checks if the element is selected.
Syntax
Element.is_selected() -> boolUsage
py.get(".option").is_selected()Arguments
None
Yields
bool - True if the element is selected, else False
Last updated