# Maximize Browser

This is a pre-built Action located under the **@Browser Element**, instructs the Avo Assure to maximize the current browser window during debugging or execution and save the result in the dynamic variable.

{% hint style="warning" %}
***Note:** If multiple browser windows are opened and all are minimized, then the browser which is recently closed will get maximized.*
{% endhint %}

### Syntax

**Input Value:** `N/A`&#x20;

<table><thead><tr><th>Argument</th><th>Description</th><th data-hidden></th></tr></thead><tbody><tr><td>N/A</td><td>Not Applicable</td><td></td></tr></tbody></table>

**Output Value:**

<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>This dynamic variable holds the status as <strong>True</strong> or <strong>False</strong></td><td></td></tr></tbody></table>

**Example**

**Maximizes the currently opened browser window**

The **Maximize Browser** action does not take any value in the Input Value column. It maximizes the browser that is currently opened. The status is stored in the **{MaxWindow}** variable, with the following possible values:

* **True –** If the window is maximized successfully.
* **False –** If it fails or an error occurs.

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FEa2vni1r2iqBZj5BQglS%2Fimage.png?alt=media&#x26;token=b1eb796c-c825-4d15-8c56-6b0b8cff3d44" alt=""><figcaption></figcaption></figure>
