--- title: "Capture a screenshot after performing an action - Mozenda" slug: "capture-a-screenshot-performing-an-action" description: "You can take a screenshot action at any point while running your agent. This allows you to perform actions on a web page before you take a screenshot." tags: ["image", "photo", "picture", "save"] updated: 2024-05-14T12:06:32Z published: 2024-05-14T12:06:32Z canonical: "help.mozenda.com/capture-a-screenshot-performing-an-action" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.mozenda.com/llms.txt > Use this file to discover all available pages before exploring further. # Capture a screenshot after performing an action The *Capture Screenshot* action allows your agent to capture an screenshot of your target site at any point during its run. This is helpful when you need your agent to interact with a page before capturing a screenshot. Note By default, images are not loaded on the web page on the Mozenda’s servers. To enable screenshot capture, first set the agent to request web page images during processing in the Web Console. In the Agent Builder: 1. Enter a URL. 2. Select **Add Action** drop-down. 3. Select **Capture Screenshot**. 4. Enter a name for the field. Note This field name displays in the agent’s data collection and records the URL of the web page where the screenshot was captured. 1. (Optional) Choose the image format from the **Format** drop-down. The options are *Jpeg* or *Png*. Note If you don’t choose a format, the screenshot is saved by default as a *Jpeg* file. ![screenshot1](https://cdn.document360.io/03076343-9561-4857-8a4e-9f3bfed20ced/Images/Documentation/screenshot1.PNG) 1. (Optional) Customize the dimensions of the screenshot in pixels. Info The image will be cropped to custom dimensions starting from the upper left corner. This setting does not perform any resizing. 1. Select **Create Action**. 2. Select **SAVE**. The screenshot is saved as a URL. 1. Click and drag the new screenshot action into position. For example, if you want to take a screenshot of the web page after clicking a link or menu, you need to drag the *Capture Screenshot* action below that action.