# Take full-page website screenshots as PNG

**Use case:** 

Captures the entire scrollable page of each URL as a PNG, with lazy-loaded images scrolled into view, cookie banners and newsletter pop-ups hidden (never accepted), and ads blocked. Returns a direct file link per URL. Add as many URLs as you need for archives, reports or visual monitoring.

## Input

```json
{
  "urls": [
    "https://apify.com",
    "https://en.wikipedia.org/wiki/Web_scraping"
  ],
  "format": "png",
  "fullPage": true,
  "device": "desktop-1440",
  "quality": 80,
  "hideCookieBanners": true,
  "hidePopups": true,
  "blockAds": true,
  "blockVideo": true,
  "waitUntil": "networkidle2",
  "delayMs": 500,
  "scrollToBottom": true,
  "darkMode": false,
  "maxHeight": 20000,
  "pdfFormat": "A4",
  "pdfLandscape": false,
  "pdfPrintBackground": true,
  "timeoutSecs": 60,
  "retries": 1,
  "failOnHttpError": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "url": {
    "label": "Page",
    "format": "string"
  },
  "fileUrl": {
    "label": "File",
    "format": "string"
  },
  "format": {
    "label": "Format",
    "format": "string"
  },
  "device": {
    "label": "Device",
    "format": "string"
  },
  "chargedEvent": {
    "label": "Charged event",
    "format": "string"
  },
  "width": {
    "label": "Width",
    "format": "integer"
  },
  "height": {
    "label": "Height",
    "format": "integer"
  },
  "statusCode": {
    "label": "Status code",
    "format": "integer"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "loadMs": {
    "label": "Load ms",
    "format": "integer"
  },
  "error": {
    "label": "Error",
    "format": "string"
  }
}
```

## How it works

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

The Website Screenshot & PDF: Full-Page, Mobile, No Cookie Banners Actor is ready to run with the inputs already set for "Take full-page website screenshots as PNG". [Sign up or log in](https://console.apify.com/create-task-from-example/BYww01tUuBNYoUle1) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Take full-page website screenshots as PNG" task

The Website Screenshot & PDF: Full-Page, Mobile, No Cookie Banners Actor will start running based on the input automatically. You can also change all the input fields, like URLs, output format, and more, to match your specific use case.

### 3. Receive the "Take full-page website screenshots as PNG" 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 page, file, format, 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 "Take full-page website screenshots as PNG" task via API](https://apify.com/datapipelabs/website-screenshot-pdf.md).

## FAQ

### What does the full-page screenshot task capture?

The full-page screenshot task captures the whole scrollable page of each URL as a PNG. It scrolls first so lazy-loaded images appear, then saves one file per URL with a direct download link.

### Does it remove cookie banners?

The full-page screenshot task hides common cookie consent banners and newsletter pop-ups with CSS. It never clicks Accept, so no consent is given on your behalf. Some unusual banners may still appear.

### How much does a full-page screenshot cost?

A full-page screenshot costs $0.004 ($4 per 1,000), plus a start fee of $0.00005 per GB of run memory. Pages that fail to load are not charged.

### Is there a page length limit?

The full-page screenshot task cuts very long pages at 20,000 px by default (maxHeight, adjustable up to 40,000) and marks those records as truncated.

### Can I get JPEG, WebP or a mobile view instead?

Yes. The full-page screenshot task can switch format to JPEG or WebP and device to presets such as iPhone 15 Pro, Pixel 8, iPad Pro 11 or a custom size.

### Where do I find the screenshot files?

The full-page screenshot task stores each image in the run's key-value store. The dataset lists each URL with its fileUrl link, size, page title and status.

## About this Actor

This example demonstrates how to use [Website Screenshot & PDF: Full-Page, Mobile, No Cookie Banners](https://apify.com/datapipelabs/website-screenshot-pdf.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/datapipelabs/website-screenshot-pdf.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/datapipelabs/website-screenshot-pdf.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`).
