# Save a desktop PDF snapshot of a page

**Use case:** 

Open each URL in a desktop browser, hide cookie pop-ups, and save both a viewport screenshot and a PDF. Useful for reports, archives and sharing a print-ready copy of a public page without logging in.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://example.com"
    }
  ],
  "devices": [
    "desktop"
  ],
  "fullPage": false,
  "format": "png",
  "jpegQuality": 80,
  "savePdf": true,
  "hideCookieBanners": true,
  "scrollToBottom": true,
  "blockAds": false,
  "darkMode": false,
  "waitUntil": "load",
  "delayMs": 1000,
  "viewportWidth": 0,
  "viewportHeight": 0,
  "maxFullPageHeight": 15000,
  "hideSelectors": [],
  "navigationTimeoutSecs": 45,
  "maxRetries": 2,
  "maxConcurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "screenshotUrl": {
    "label": "Screenshot",
    "format": "image"
  },
  "url": {
    "label": "URL",
    "format": "link"
  },
  "device": {
    "label": "Device",
    "format": "text"
  },
  "pageTitle": {
    "label": "Page title",
    "format": "text"
  },
  "statusCode": {
    "label": "HTTP status",
    "format": "number"
  },
  "success": {
    "label": "Success",
    "format": "boolean"
  },
  "fullPage": {
    "label": "Full page",
    "format": "boolean"
  },
  "imageHeight": {
    "label": "Image height (px)",
    "format": "number"
  },
  "fileSizeBytes": {
    "label": "Size (bytes)",
    "format": "number"
  },
  "loadTimeMs": {
    "label": "Time (ms)",
    "format": "number"
  },
  "pdfUrl": {
    "label": "PDF",
    "format": "link"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Website Screenshot Pro – Bulk, Full-Page, Mobile & PDF Actor is ready to run with the inputs already set for "Save a desktop PDF snapshot of a page". [Sign up or log in](https://console.apify.com/create-task-from-example/mgVnaV7AavNUMkGyJ) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Save a desktop PDF snapshot of a page" task

The Website Screenshot Pro – Bulk, Full-Page, Mobile & PDF Actor will start running based on the input automatically. You can also change all the input fields, like URLs to capture, devices, and more, to match your specific use case.

### 3. Receive the "Save a desktop PDF snapshot of a page" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as screenshot, URL, device, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Save a desktop PDF snapshot of a page" task via API](https://apify.com/steadyutil/website-screenshot-pro.md).

## FAQ

### What files do I get?

A PNG (or JPEG) screenshot and a PDF per URL, stored in the run’s key-value store. The dataset includes screenshotUrl and pdfUrl you can download or send onward.

### Are failed pages charged?

No. HTTP errors and bot-protection walls are flagged with success: false and are not charged for the screenshot or the PDF.

## About this Actor

This example demonstrates how to use [Website Screenshot Pro – Bulk, Full-Page, Mobile & PDF](https://apify.com/steadyutil/website-screenshot-pro.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/steadyutil/website-screenshot-pro.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/steadyutil/website-screenshot-pro.md

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`).
