For the complete documentation index, see llms.txt. This page is also available as Markdown.

is_selected

The command that checks if the element is selected.

Syntax

Element.is_selected() -> bool

Usage

correct usage
py.get(".option").is_selected()

Arguments

  • None

Yields

  • bool - True if the element is selected, else False

Last updated