# Website Screenshot & PDF Pro (`zestwisdom/screenshot-pro`) Actor

Screenshots and PDFs of any web page: full page, any device, cookie banners and popups removed, batch of URLs.

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

## Pricing

from $3.00 / 1,000 screenshots or pdf

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/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 & PDF Pro

Clean screenshots and PDFs of any web page, in bulk. Cookie banners, chat bubbles and popups are removed automatically, so your images look like the real page, not a consent wall.

**You get:** one image or PDF file per URL, plus a table with each file's download link, size and status.
**You pay:** $3 per 1,000 successful captures ($0.003 each). Failed pages are free. A first test with a few URLs costs about a cent.

### What it does

- **Full-page or visible-area** screenshots of one URL or thousands
- **PNG, JPEG, WebP or PDF** output
- **Desktop, laptop, tablet or mobile** view (real device emulation)
- **Removes cookie banners and popups**: clicks "Accept" when it can and hides 40+ known consent tools and chat widgets
- **Loads lazy images** before a full-page capture, so long pages aren't half blank
- **Dark mode**, custom wait-for-element, hide any element by CSS selector
- Runs up to 20 pages in parallel

### Use cases

- Monitor competitors' landing pages and pricing pages over time
- Archive web pages for compliance or legal records
- Make thumbnails and previews for directories and link lists
- Check how your site looks on mobile vs desktop
- Feed page images to AI vision models

### Input example

```json
{
  "urls": ["https://apify.com", "example.com"],
  "format": "png",
  "fullPage": true,
  "device": "mobile",
  "removeCookieBanners": true
}
```

### Output

Each page becomes one row in the dataset:

```json
{
  "url": "https://apify.com/",
  "status": "ok",
  "format": "png",
  "fileUrl": "https://api.apify.com/v2/key-value-stores/<id>/records/apify-com-123.png",
  "width": 390,
  "height": 6120,
  "bytes": 512331,
  "ms": 4210
}
```

Failed pages are listed with `status: "error"` and the reason, and **you are not charged for them**.

### Pricing

Pay only for successful captures. See the Pricing tab for the current price per capture.

### Tips

- Pages behind a login are not supported.
- Use `waitForSelector` for pages that load content slowly.
- Respect each website's terms of use.

# Actor input Schema

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

Pages to capture. One per line.

## `format` (type: `string`):

Image format, or PDF.

## `fullPage` (type: `boolean`):

Capture the whole scrollable page, not only the visible part.

## `device` (type: `string`):

Screen size and device type to emulate.

## `removeCookieBanners` (type: `boolean`):

Hides common consent banners, chat widgets and newsletter popups before capture.

## `darkMode` (type: `boolean`):

Ask the page to render in dark mode where supported.

## `waitForSelector` (type: `string`):

Optional. Wait until this element appears before capturing.

## `hideSelectors` (type: `array`):

Optional. Elements to hide before capture.

## `delayMs` (type: `integer`):

Wait this long after the page loads, for animations.

## `quality` (type: `integer`):

Only for jpeg and webp.

## `scrollToLoadLazyImages` (type: `boolean`):

Scroll the page first so lazy-loaded images appear in full-page captures.

## `maxConcurrency` (type: `integer`):

How many pages to capture at once.

## `timeoutSecs` (type: `integer`):

Give up on a page after this long.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com"
  ],
  "format": "png",
  "fullPage": true,
  "device": "desktop",
  "removeCookieBanners": true,
  "darkMode": false,
  "delayMs": 500,
  "quality": 85,
  "scrollToLoadLazyImages": true,
  "maxConcurrency": 5,
  "timeoutSecs": 45
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `files` (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"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("zestwisdom/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"] }

# Run the Actor and wait for it to finish
run = client.actor("zestwisdom/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"
  ]
}' |
apify call zestwisdom/screenshot-pro --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,zestwisdom/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/lmWreGSgd8yjv9UGz/builds/KmSlzUfwOhUNd35bs/openapi.json
