# Take Screenshot Block

<figure><img src="/files/2y1fYnTOKt0HTo1VlZXQ" alt=""><figcaption></figcaption></figure>

Used to create a screenshot of the current tab. You can use three modes: A page (screenshot of the page), A full page (screenshot of the entire page), An element (screenshot of a page element). There are settings for these modes:

* **Save screenshot to computer.** Here you need to enter the name and select the file format to save.
* **Insert screenshot to table.** The so-called [data URL](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) is written to the table, which is a text string containing a Base64-encoded image.
* **Assign to variable.** The [data URL](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) is written to the workflow variable. For the block to work correctly, enter the name of the variable previously declared in the program.
* **CSS Selector.** For the An element mode, you must specify the selector of the element for the area of which you want to take a screenshot of the screen.


---

# 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.goless.com/blocks/browser/take-screenshot-block.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.
