# Take Screenshot Block

<figure><img src="https://742850480-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmtnl2J19CnNVA5fLFAPs%2Fuploads%2Fnj3gcxoEzNUvxu4wzZKR%2FTake%20screenshot.jpg?alt=media&#x26;token=33d404f7-884e-47a7-acdb-b88216d0e72c" 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.
