is_enabled

The command to check if the element is enabled.

Syntax

Element.is_enabled() -> bool

Usage

correct usage
py.get("#button").is_enabled()

Arguments

  • None

Yields

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

Last updated