> For the complete documentation index, see [llms.txt](https://docs.browserflow.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.browserflow.app/reference/browserflow-commands/utilities/wait-for-element.md).

# Wait for Element

Waits for an element to appear or disappear

#### Selector

* [Selector](/guides/selectors.md) for the element to wait for

#### Condition

* Wait until exists
  * Wait until element exists on the page (not necessarily visible)
* Wait until visible
  * Wait until element is visible on the page
* Wait until hidden
  * Wait until element is removed or is hidden on the page

#### Max seconds to wait (optional)

* Maximum number of seconds to wait for the element to meet the condition
  * If the condition is not met in time, the flow will continue
* A value of 0 will cause Browserflow to wait indefinitely until the condition is met
