> For the complete documentation index, see [llms.txt](https://docs.avoautomation.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avoautomation.com/avo-assure/actions/web/browser/navigate-to-page-with-authentication-1.md).

# Navigate to Page with Authentication

This is a pre-built Action located under the **@Browser Element**. The functionality of this Action in Avo Assure is to open the given URL and log in using the Username and Password provided in the **Input Value** column. The result is stored in a dynamic variable for further use during test execution.

## Syntax

**Input Value**: `<URL>;<UserName>;<EncryptedPassword>`

<table><thead><tr><th>Argument</th><th>Description</th><th data-hidden></th></tr></thead><tbody><tr><td>&#x3C;URL><br>(Required)</td><td>Provide the web address of the application to access.</td><td></td></tr><tr><td>&#x3C;UserName><br>(Required)</td><td>Provide the username to log into the application.</td><td></td></tr><tr><td>&#x3C;EncryptedPassword><br>(Required)</td><td>Provide the encrypted password for secure login.</td><td></td></tr></tbody></table>

{% hint style="info" %}
**Note**:

* Ensure that the password is encrypted using the AES method. For more information, [click here](/avo-assure/utilities/encryption.md).
* Use a website that requires authentication with a username and password through a single popup authentication window.
  {% endhint %}

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

<table><thead><tr><th>Argument</th><th>Description</th><th data-hidden></th></tr></thead><tbody><tr><td>&#x3C;Dynamic Variable>(Optional);&#x3C;Dynamic Variable>(Optional)</td><td>Both dynamic variable stores the status as <strong>True</strong> or <strong>False</strong>.</td><td></td></tr></tbody></table>

#### **Example: Navigating to a Secured Web Page Using Authentication Credentials**

In this example, we explain how to navigate to a secured web page that requires authentication using the **Navigate to Page with Authentication** action.

* **Action**: Navigate to Page with Authentication
* **Input Value**: <https://example.com;admin;iPh64rgJnD4sSbVyDKqRWw==>
  * The URL (**<https://example.com>**) specifies the secured web page to be accessed.
  * The username (**admin**) defines the login credential used for authentication.
  * The Encrypted Password **(iPh64rgJnD4sSbVyDKqRWw==**) provides the encoded password for secure access.
* **Output Value**: {Navigate}
  * The result of the navigation is stored in this **{Navigate}** dynamic variable with the following possible values:
    * **True**: If the page is accessed successfully using valid credentials.
    * **False**: If the authentication fails or an error occurs during navigation.
* **Logical Explanation:** The **Navigate to Page with Authentication** action takes the value from the **Input Value** column (**<https://example.com;admin;iPh64rgJnD4sSbVyDKqRWw==>** ) and attempts to access the specified URL using the provided username and encrypted password. If the authentication is successful, the result of the operation is stored in the **{NavigateToPage}** variable as true.

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FAoC9DMBU6eQTVLapt5sw%2Fimage.png?alt=media&amp;token=8598e684-b65f-4582-ba08-78685239bacf" alt=""><figcaption></figcaption></figure>

**Authentication Website Example**:

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2Frlt0X7dm6cExqot9wgB5%2Fimage.png?alt=media&amp;token=0aaf6f2a-f5a8-491d-a1d8-e493676d49eb" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.avoautomation.com/avo-assure/actions/web/browser/navigate-to-page-with-authentication-1.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
