# Website Screenshot Pro: Bulk, Full Page, Mobile, PDF (`flets_sv/website-screenshot-pro`) Actor

Bulk website screenshots: full page or viewport, desktop or mobile, PNG, JPEG or PDF, cookie banners hidden, visual change alerts. Cheap pay-per-capture.

- **URL**: https://apify.com/flets_sv/website-screenshot-pro.md
- **Developed by:** [FlEtsv](https://apify.com/flets_sv) (community)
- **Categories:** Developer tools, SEO tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 1,000 screenshots

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Website Screenshot Pro: bulk, full page, mobile and PDF

Capture screenshots of any public web page in bulk, as PNG, JPEG or PDF, on desktop, laptop, tablet or mobile viewports. Cookie banners are hidden by default, and a monitor mode reports only the pages whose look changed since the last run.

*Versión en español más abajo.*

### English

#### What it does

Website Screenshot Pro opens each URL in a real Chromium browser, waits for the page to settle, hides cookie and consent banners (and any CSS selector you add), and stores the image or PDF with a public download link. Every processed URL produces one dataset item with the final URL, HTTP status, page title, size and load time, so you can detect failures without leaving the run.

Typical uses: auditing landing pages on several devices, archiving pages as PDF, preparing previews for reports or documentation, and watching competitors or your own site for visual changes on a schedule.

#### Input

All fields are optional. With the defaults the Actor captures two example pages, so your first run costs almost nothing.

| Field | Type | Description |
| --- | --- | --- |
| `urls` | string\[] | Pages to capture. |
| `urlSitemap` | string | Optional sitemap URL: every URL in it is captured, up to `maxCapturas`. |
| `dispositivo` | string | Viewport preset: `desktop` (1920×1080), `laptop` (1366×768), `tablet` (768×1024) or `mobile` (390×844). Default `desktop`. |
| `paginaCompleta` | boolean | Capture the whole scrollable page instead of the viewport. Default `false`. |
| `formato` | string | `png`, `jpeg` or `pdf`. Default `png`. |
| `tamanoPapel` | string | Paper size when `formato` is `pdf`: `A4` or `Letter`. Default `A4`. |
| `ocultarCookies` | boolean | Hide common cookie and consent banners. Default `true`. |
| `ocultarSelectores` | string\[] | Extra CSS selectors to hide (chat widgets, popups). |
| `esperaMs` | integer | Maximum time to wait for each page to load, 1000 to 60000 ms. Default `15000`. |
| `retrasoMs` | integer | Extra wait after load, for animations, 0 to 20000 ms. Default `0`. |
| `modoVigilancia` | boolean | Monitor mode: only new or changed pages are output and charged. Default `false`. Not applied to PDF. |
| `umbralCambio` | integer | In monitor mode, a change is reported only if more than this % of pixels differ. Default `2`. |
| `maxCapturas` | integer | Hard limit of captures per run, 1 to 10000. Default `100`; the form is prefilled with `2`. |

A minimal input:

```json
{
  "urls": ["https://example.com/"],
  "dispositivo": "desktop",
  "formato": "png"
}
```

Ready-to-copy inputs are in the `ejemplos` folder: a desktop full-page capture, a mobile capture, a PDF export and a scheduled monitor.

#### Output

One dataset item per URL. Download it as JSON, CSV or Excel, or read it through the API.

```json
{
  "url": "https://apify.com",
  "urlFinal": "https://apify.com/",
  "codigoHttp": 200,
  "titulo": "Apify: Full-stack web scraping and data extraction platform",
  "dispositivo": "desktop",
  "formato": "png",
  "urlCaptura": "https://api.apify.com/v2/key-value-stores/STORE_ID/records/0001-apify-com-2026-11-12T10-30-00-000Z.png",
  "ancho": 1920,
  "alto": 5400,
  "bytes": 812345,
  "msCarga": 2310,
  "cambio": null,
  "porcentajeCambio": null,
  "error": null,
  "comprobadoEn": "2026-11-12T10:30:00.000Z"
}
```

`urlCaptura` is the link to the image or PDF in the run's key-value store. In monitor mode `cambio` tells you whether the page is new or changed and `porcentajeCambio` how much of it differs. A failed URL is also recorded, with the reason in `error`.

#### Monitor mode

Turn on `modoVigilancia` and run the Actor on a schedule. The first run stores a reference image for each URL, device and format. Later runs compare against it and output (and charge) only the pages that are new or changed by more than `umbralCambio`. Use the dataset or a webhook to be alerted.

#### Pricing

Pay per event: one `screenshot` event for each capture that is generated and stored (image or PDF). Failed URLs and, in monitor mode, unchanged pages are not charged. Set a maximum cost per run in Apify to cap your spend; `maxCapturas` also limits each run. See the Pricing tab for the current price per event.

#### FAQ

**Does it work with private or logged-in pages?** No, only public pages.

**Can I capture many pages at once?** Yes. Pass a list in `urls` or a sitemap in `urlSitemap`, and raise `maxCapturas`.

**Why is my page cut off or empty?** Increase `retrasoMs` for pages with animations or lazy loading, and use `paginaCompleta` to capture the full height.

**Can I get PDF instead of an image?** Yes: set `formato` to `pdf` and choose `tamanoPapel`.

**Can I be told only when something changes?** Yes, with `modoVigilancia` on a schedule.

### Español

#### Qué hace

Website Screenshot Pro abre cada URL en un Chromium real, espera a que la página se estabilice, oculta los avisos de cookies y consentimiento (y los selectores CSS que añadas) y guarda la imagen o el PDF con un enlace público de descarga. Cada URL procesada genera un elemento del dataset con la URL final, el código HTTP, el título, el tamaño y el tiempo de carga, de modo que detectas fallos sin salir de la ejecución.

Usos habituales: auditar páginas de aterrizaje en varios dispositivos, archivar páginas en PDF, preparar vistas previas para informes o documentación y vigilar a la competencia o tu propia web para detectar cambios visuales de forma programada.

#### Entrada

Todos los campos son opcionales. Con los valores por defecto el Actor captura dos páginas de ejemplo, así que la primera ejecución cuesta muy poco.

| Campo | Tipo | Descripción |
| --- | --- | --- |
| `urls` | string\[] | Páginas que se van a capturar. |
| `urlSitemap` | string | URL de un sitemap opcional: se capturan todas sus URL, hasta `maxCapturas`. |
| `dispositivo` | string | Viewport: `desktop` (1920×1080), `laptop` (1366×768), `tablet` (768×1024) o `mobile` (390×844). Por defecto, `desktop`. |
| `paginaCompleta` | boolean | Captura toda la altura de la página en lugar del viewport. Por defecto, `false`. |
| `formato` | string | `png`, `jpeg` o `pdf`. Por defecto, `png`. |
| `tamanoPapel` | string | Tamaño de papel si `formato` es `pdf`: `A4` o `Letter`. Por defecto, `A4`. |
| `ocultarCookies` | boolean | Oculta los avisos habituales de cookies y consentimiento. Por defecto, `true`. |
| `ocultarSelectores` | string\[] | Selectores CSS adicionales que se ocultan (chats, ventanas emergentes). |
| `esperaMs` | integer | Tiempo máximo de carga de cada página, de 1000 a 60000 ms. Por defecto, `15000`. |
| `retrasoMs` | integer | Espera adicional tras la carga, para animaciones, de 0 a 20000 ms. Por defecto, `0`. |
| `modoVigilancia` | boolean | Modo vigilancia: solo se emiten y cobran las páginas nuevas o cambiadas. Por defecto, `false`. No se aplica al PDF. |
| `umbralCambio` | integer | En modo vigilancia, solo se avisa de un cambio si difiere más de este % de píxeles. Por defecto, `2`. |
| `maxCapturas` | integer | Límite duro de capturas por ejecución, de 1 a 10000. Por defecto, `100`; el formulario propone `2`. |

Un ejemplo mínimo de entrada:

```json
{
  "urls": ["https://example.com/"],
  "dispositivo": "desktop",
  "formato": "png"
}
```

En la carpeta `ejemplos` hay entradas listas para copiar: una captura de escritorio de página completa, una móvil, una exportación a PDF y una vigilancia programada.

#### Salida

Un elemento del dataset por URL. Descárgalo en JSON, CSV o Excel, o léelo por API. El ejemplo de arriba muestra todos los campos: `url`, `urlFinal`, `codigoHttp`, `titulo`, `dispositivo`, `formato`, `urlCaptura`, `ancho`, `alto`, `bytes`, `msCarga`, `cambio`, `porcentajeCambio`, `error` y `comprobadoEn`.

`urlCaptura` es el enlace a la imagen o al PDF en el key-value store de la ejecución. En modo vigilancia, `cambio` indica si la página es nueva o ha cambiado y `porcentajeCambio` cuánto difiere. Las URL que fallan también se registran, con el motivo en `error`.

#### Modo vigilancia

Activa `modoVigilancia` y programa el Actor. La primera ejecución guarda una imagen de referencia por cada URL, dispositivo y formato. Las siguientes la comparan y emiten (y cobran) solo las páginas nuevas o que cambian más de `umbralCambio`. Usa el dataset o un webhook para recibir el aviso.

#### Precios

Pago por evento: un evento `screenshot` por cada captura generada y guardada (imagen o PDF). Las URL fallidas y, en modo vigilancia, las páginas sin cambios no se cobran. Fija en Apify un coste máximo por ejecución para limitar el gasto; `maxCapturas` también acota cada ejecución. El precio vigente por evento está en la pestaña de precios.

#### Preguntas frecuentes

**¿Funciona con páginas privadas o con sesión iniciada?** No, solo con páginas públicas.

**¿Puedo capturar muchas páginas a la vez?** Sí. Indica una lista en `urls` o un sitemap en `urlSitemap` y sube `maxCapturas`.

**¿Por qué sale cortada o vacía?** Sube `retrasoMs` si la página tiene animaciones o carga diferida y usa `paginaCompleta` para capturar toda la altura.

**¿Puedo obtener PDF en vez de imagen?** Sí: pon `formato` en `pdf` y elige `tamanoPapel`.

**¿Puedo recibir aviso solo cuando algo cambia?** Sí, con `modoVigilancia` en una ejecución programada.

# Actor input Schema

## `urls` (type: `array`):

Public pages to capture, one URL per line. Add a sitemap below to capture many pages at once.

## `urlSitemap` (type: `string`):

Capture every URL listed in this sitemap.xml (up to Max screenshots). Leave empty to use only the URLs above.

## `dispositivo` (type: `string`):

Viewport preset. Mobile emulates a phone with touch and mobile user agent.

## `paginaCompleta` (type: `boolean`):

Capture the whole scrollable page instead of only the first screen. Does not apply to PDF.

## `formato` (type: `string`):

PNG (sharp), JPEG (smaller files) or PDF (print-ready document).

## `tamanoPapel` (type: `string`):

Paper size when the format is PDF. Ignored for PNG and JPEG.

## `ocultarCookies` (type: `boolean`):

Hide common cookie/consent banners before capturing.

## `ocultarSelectores` (type: `array`):

Extra CSS selectors to hide before capturing (chat widgets, popups), for example #intercom-container.

## `esperaMs` (type: `integer`):

Maximum time to wait for each page to load before giving up on it.

## `retrasoMs` (type: `integer`):

Extra wait after the page loads, useful for animations and lazy-loaded content.

## `modoVigilancia` (type: `boolean`):

Remember what was seen in previous runs (key-value store) and output only new or changed screenshots (visual diff against the previous run). Use it with a schedule for alerts.

## `umbralCambio` (type: `integer`):

In monitor mode, report a change only if more than this % of pixels differ.

## `maxCapturas` (type: `integer`):

Hard limit of screenshots per run, whatever the list or sitemap holds. Protects your budget.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com",
    "https://example.com"
  ],
  "urlSitemap": "",
  "dispositivo": "desktop",
  "paginaCompleta": false,
  "formato": "png",
  "tamanoPapel": "A4",
  "ocultarCookies": true,
  "ocultarSelectores": [],
  "esperaMs": 15000,
  "retrasoMs": 0,
  "modoVigilancia": false,
  "umbralCambio": 2,
  "maxCapturas": 2
}
```

# Actor output Schema

## `resultados` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "https://apify.com",
        "https://example.com"
    ],
    "maxCapturas": 2
};

// Run the Actor and wait for it to finish
const run = await client.actor("flets_sv/website-screenshot-pro").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "urls": [
        "https://apify.com",
        "https://example.com",
    ],
    "maxCapturas": 2,
}

# Run the Actor and wait for it to finish
run = client.actor("flets_sv/website-screenshot-pro").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "https://apify.com",
    "https://example.com"
  ],
  "maxCapturas": 2
}' |
apify call flets_sv/website-screenshot-pro --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,flets_sv/website-screenshot-pro"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/AxNuQqDRdfENuJb7g/builds/lP88EzPrrEvlRfpf0/openapi.json
