> 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/support-resources/knowledge-base-articles/design-studio/test-case/saving-a-web-page-to-your-system.md).

# Saving a Web Page to Your System

**Summary:** This article explains how to save a normal web page (HTML) to your system using the browser's built-in **Save As** dialog and Avo Assure actions.

### Error Behavior

The **Save File** action does not save a normal web page (HTML) opened in a browser tab. Using this action for an HTML page may not save the page as expected.

### Possible Reasons

This issue may occur due to one or more of the following reasons:

* The Test Case uses the **Save File** action to save a normal HTML web page.
* The browser's **Save As** dialog does not appear before the next action executes.
* The Test Case sends the **Enter** key before the **Save As** dialog is ready.
* The **Save As** dialog requires additional input, such as a file name or save location.

### Resolution/Solution

To save a normal web page (HTML), use the browser's built-in **Save As** dialog instead of the **Save File** action.

**Possible Requirements:**

* Google Chrome or Microsoft Edge.
* The web page you want to save.
* **Send Function Keys** and **Wait** actions.

Follow these steps:

1. Open the web page in Google Chrome or Microsoft Edge.
2. Add the following steps to the Test Case:

<table><thead><tr><th width="95.16668701171875">Step</th><th>Elements</th><th>Actions</th><th>Input Value</th><th>Output Value</th></tr></thead><tbody><tr><td>1</td><td>@Generic</td><td>Send Function Keys</td><td>Ctrl+S</td><td>N/A</td></tr><tr><td>2</td><td>@Generic</td><td>Wait</td><td>3</td><td>N/A</td></tr><tr><td>3</td><td>@Generic</td><td>Send Function Keys</td><td>Enter</td><td>N/A</td></tr></tbody></table>

#### Logical Explanation

The first **Send Function Keys** action sends `Ctrl+S` to the browser and opens the **Save As** dialog. The **Wait** action pauses execution for 3 seconds to allow the dialog to appear. The second **Send Function Keys** action sends `Enter` to confirm the save operation. The browser saves the web page to the location displayed in the dialog.

### Additional Notes

* The save location and file name depend on the options displayed in the **Save As** dialog.
* If the dialog requires a different action, such as changing the file name or save location, add the required steps before sending `Enter`.
* The **Save File** action supports files that open in a browser tab or download from a URL, such as PDF, TXT, and XML files. Use the browser's **Save As** dialog to save a normal web page (HTML).


---

# 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/support-resources/knowledge-base-articles/design-studio/test-case/saving-a-web-page-to-your-system.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.
