# Screenshot without header, footer or chat widget

**Use case:** 

Hide the parts of a page you do not want in the image, such as a sticky header, a footer, a chat widget or a pop-up. List their CSS selectors, one per line; this example hides the Wikipedia header and footer and captures the full article. Cookie banners and common ad slots are hidden by default.

## Input

```json
{
  "urls": [
    "https://en.wikipedia.org/wiki/Montreal"
  ],
  "fullPage": true,
  "devicePreset": "desktop",
  "format": "png",
  "quality": 80,
  "darkMode": false,
  "blockCookieBanners": true,
  "blockAds": true,
  "waitUntil": "load",
  "delayMs": 500,
  "hideSelectors": [
    ".vector-header-container",
    ".mw-footer-container"
  ],
  "timeoutSecs": 30,
  "maxRetries": 1,
  "maxFullPageHeight": 15000,
  "skipHttpErrors": false,
  "locale": "en-US",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "screenshotUrl": {
    "label": "Screenshot",
    "format": "string"
  },
  "url": {
    "label": "URL",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "httpStatus": {
    "label": "HTTP",
    "format": "integer"
  },
  "title": {
    "label": "Page title",
    "format": "string"
  },
  "width": {
    "label": "Width",
    "format": "integer"
  },
  "height": {
    "label": "Height",
    "format": "integer"
  },
  "format": {
    "label": "Format",
    "format": "string"
  },
  "sizeBytes": {
    "label": "Size (bytes)",
    "format": "integer"
  },
  "error": {
    "label": "Error",
    "format": "string"
  }
}
```

## How it works

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

The Website Screenshot API - Fast & Bulk (PNG, JPEG, WebP, PDF) Actor is ready to run with the inputs already set for "Screenshot without header, footer or chat widget". [Sign up or log in](https://console.apify.com/create-task-from-example/bpLWZUMsHRNNqujRS) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Screenshot without header, footer or chat widget" task

The Website Screenshot API - Fast & Bulk (PNG, JPEG, WebP, PDF) Actor will start running based on the input automatically. You can also change all the input fields, like URLs, full-page screenshot, and more, to match your specific use case.

### 3. Receive the "Screenshot without header, footer or chat widget" 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, status, 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 "Screenshot without header, footer or chat widget" task via API](https://apify.com/northledgertools/website-screenshot.md).

## About this Actor

This example demonstrates how to use [Website Screenshot API - Fast & Bulk (PNG, JPEG, WebP, PDF)](https://apify.com/northledgertools/website-screenshot.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/northledgertools/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/northledgertools/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`).
