# Full-page mobile screenshot

**Use case:** 

Capture a full-page mobile screenshot of any website, rendered as an iPhone-sized viewport at 3x pixel density, with cookie banners dismissed. Switch to Android, tablet, laptop or a custom size, and compare how pages look on each device.

## Input

```json
{
  "urls": [
    {
      "url": "https://www.python.org"
    }
  ],
  "device": "mobile",
  "fullPage": true,
  "formats": [
    "png"
  ],
  "pdfFormat": "A4",
  "jpegQuality": 80,
  "includeHtml": false,
  "dismissCookieBanners": true,
  "blockTrackers": true,
  "darkMode": false,
  "delayMs": 1000,
  "waitUntil": "load",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "url": {
    "label": "URL",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "screenshotUrl": {
    "label": "Screenshot URL",
    "format": "string"
  },
  "pdfUrl": {
    "label": "PDF URL",
    "format": "string"
  },
  "title": {
    "label": "Page title",
    "format": "string"
  },
  "httpStatus": {
    "label": "HTTP status",
    "format": "integer"
  },
  "pageHeight": {
    "label": "Page height (px)",
    "format": "integer"
  },
  "error": {
    "label": "Error message",
    "format": "string"
  }
}
```

## How it works

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

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

### 2. Start the "Full-page mobile screenshot" task

The Website Screenshot Generator: Full Page & PDF Actor will start running based on the input automatically. You can also change all the input fields, like URLs, device, and more, to match your specific use case.

### 3. Receive the "Full-page mobile screenshot" 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 URL, status, screenshot url, 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 "Full-page mobile screenshot" task via API](https://apify.com/jcwilk/website-screenshot.md).

## FAQ

### Which devices can the mobile screenshot task emulate?

The mobile screenshot task offers desktop, laptop, tablet, iPhone-sized mobile and Android presets, or a custom width, height and pixel density.

### Is the mobile screenshot full-page?

Yes. With fullPage on, the mobile screenshot task captures the whole scrollable page. Turn it off to capture only the visible viewport.

### Can I take a dark mode screenshot?

Yes. Turn on darkMode in the mobile screenshot task and the page renders with prefers-color-scheme: dark, if the website supports it.

### Can I run it from the API, n8n, Make or a schedule?

Yes. The mobile screenshot task runs from the Apify API, schedules and webhooks, and from n8n, Make or Zapier, and returns JSON, CSV or Excel.

## About this Actor

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