# Download Page

Download the HTML code of the specified page.

<table data-header-hidden><thead><tr><th width="211" valign="top"></th><th width="332" valign="top"></th></tr></thead><tbody><tr><td valign="top">URL</td><td valign="top"><p>[Text] Link to the web page whose source code needs to be downloaded.</p><p>Must start with a protocol, for example, <code>"http://www.mydomain.com/"</code>.</p></td></tr><tr><td valign="top">Encoding</td><td valign="top">Encoding of the web page.</td></tr><tr><td valign="top">UserAgent</td><td valign="top">UserAgent to be used when accessing the required web page.</td></tr><tr><td valign="top">TLS 12</td><td valign="top"><p>If checked, the secure TLS 12 protocol will be used when accessing the</p><p>web page.</p><p>Otherwise, the outdated TLS 11 protocol will be used.</p></td></tr><tr><td valign="top">Headers</td><td valign="top">[Dictionary] Headers sent in the request.</td></tr><tr><td valign="top">Cookies</td><td valign="top"><p>[List] List of cookies. This property should contain a list of Cookie objects.</p><p>The list can be obtained using the "Data Table in Cookies" block, using the "Get Cookies" block from the "Browser Automation" palette, using the output property "Cookies" of this block.</p></td></tr><tr><td valign="top">Login</td><td valign="top">[Text] Login for basic authentication. An Authorization header is created.</td></tr><tr><td valign="top">Password</td><td valign="top">[Text/SecureString] Password for basic authentication. An Authorization header is created.</td></tr><tr><td valign="top">Timeout</td><td valign="top">[Number] Timeout in seconds.</td></tr><tr><td valign="top">Alternative Method</td><td valign="top">The alternative method uses the base class WebClient.</td></tr><tr><td valign="top">Result</td><td valign="top">[Text] Source code of the web page.</td></tr><tr><td valign="top">Response Code</td><td valign="top">[Number] HTTP response code.</td></tr><tr><td valign="top">Error Handling Level</td><td valign="top"><p>Select the error handling level. Possible values:</p><ul><li>"Default" - default;</li><li>"Ignore" - errors are ignored;</li><li>"Handle" - errors are handled.</li></ul><p>If "Default" is selected, the value from the "Start" block of this diagram will be used.</p></td></tr><tr><td valign="top">Message Level</td><td valign="top"><p>Select the message level that blocks will output during operation.</p><p>Possible values:</p><ul><li>"Default" - default;</li><li>"Release" - output is disabled;</li><li>"Debug" - main information output;</li><li>"Detailed" - detailed information output.</li></ul><p>If "Default" is selected, the value from the "Start" block of this diagram will be used.</p></td></tr><tr><td valign="top">Error Text</td><td valign="top">[Text] Returns detailed information about the error in case of incorrect execution of the block's work.</td></tr></tbody></table>


---

# 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.sherparpa.ru/en/sherpa-rpa/sherpa-designer/spravochnik-blokov/nevidimyi-brauzer-http/skachat-stranicu-downloadpage.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.
