# Wait for Element to be Visible

This is a pre-built Action located under the  captured element. The functionality of this action in Avo Assure is to wait for the element in the application under test (AUT) to become visible. The result is stored in the given dynamic variable for further use during test execution.

## **Syntax**

**Input Value**: `N/A`

| Argument | Description    |
| -------- | -------------- |
| N/A      | Not Applicable |

**Output Value**: `<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)`

| Argument                                                    | Description                                                       |
| ----------------------------------------------------------- | ----------------------------------------------------------------- |
| \<Dynamic Variable>(Optional);\<Dynamic Variable>(Optional) | Both dynamic variable stores the statsu as **True** or **False**. |

### **Example: Waiting for a UI Element to Become Visible**

In this example, we are explaining how to wait until a captured UI element becomes visible on the screen.

* **Action**: Wait for Element to be Visible
* **Input Value**: N/A
  * This action does not require any input value. It continuously checks for the visibility of the captured UI element within the application until the element appears on the screen.
* **Output Value**: {Status}
  * The wait operation result is stored in the **{Status}** dynamic variable with the following possible values:
    * **True**: If the UI element becomes visible within the timeout period.
    * **False**: If the UI element does not appear or the action fails.
* **Logical Explanation**: The **Wait for Element to be Visible** action does not require any input value. The action monitors the captured UI element within the application under test and waits until it becomes visible. The result of this operation (**True**) is stored in the **{Status}** dynamic variable.

<figure><img src="/files/q7JhtF73qvzzoNGn0Ww2" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.avoautomation.com/avo-assure/actions/web/common-web-operations/wait-for-element-to-be-visible.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
