Skip to content

Waiting for Async Elements

Doug Morgan edited this page Nov 7, 2016 · 1 revision

The following methods exists to wait for a state of an element to be updated.

Note: These methods are blocking calls.

when_present

Waits for the element to exists on the page.

when_visible

Waits for the element to be visible on the page.

when_enabled

Waits for the element to be enabled on the page.

Example

example_element().when_present()
Clone this wiki locally