# ScreenshotOne

> Capture pixel-perfect screenshots of any web page with ScreenshotOne.

App · Utilities · 1 action. Web page: https://docs.lodol.com/docs/integrations/screenshotone

## Actions

### Take a screenshot

Capture a screenshot of any web page with ScreenshotOne and save it as an image you can use in later steps.

**Inputs**

- URL (`url`, text, required): The web address to capture, for example https://example.com.
- Image format (`format`, text): The image format to save the screenshot in. One of: `png` (PNG (recommended)), `jpeg` (JPEG (smaller file)), `webp`. Default: `png`.
- Full page (`full_page`, true/false): Capture the entire scrollable page instead of just the visible area. Default: `false`.
- Viewport width (`viewport_width`, number): The browser width in pixels. From 100 to 3840. Default: `1280`.
- Viewport height (`viewport_height`, number): The browser height in pixels. From 100 to 3840. Default: `1024`.
- Block ads (`block_ads`, true/false): Hide ads for a cleaner screenshot. Default: `true`.
- Block cookie banners (`block_cookie_banners`, true/false): Hide cookie-consent pop-ups for a cleaner screenshot. Default: `true`.
- Dark mode (`dark_mode`, true/false): Render the page in dark mode when the site supports it. Default: `false`.
- Delay (seconds) (`delay`, number): How long to wait after the page loads before capturing, to let animations or late content finish. From 0 to 30.
- Use cache (`cache`, true/false): Reuse a recent screenshot of the same page when available, for a faster result. Default: `false`.

**Outputs**

- `content_type` (text)
- `document_ref` (text): Reference to the saved screenshot image.
- `documents` (list)
- `filename` (text)
- `size_bytes` (number)
- `url` (text): A link that serves the saved screenshot.

**Example output**

```json
{
  "content_type": "image/png",
  "document_ref": "doc_0123456789abcdef0123456789abcdef",
  "documents": [
    {
      "content_type": "image/png",
      "document_ref": "doc_0123456789abcdef0123456789abcdef",
      "filename": "screenshot-example-com.png",
      "size_bytes": 84213,
      "url": "/actions/core/serve-document/doc_0123456789abcdef0123456789abcdef?teamId=team"
    }
  ],
  "filename": "screenshot-example-com.png",
  "size_bytes": 84213,
  "url": "/actions/core/serve-document/doc_0123456789abcdef0123456789abcdef?teamId=team"
}
```
