Go to example tasks

Screenshot One Element by CSS Selector at 2x

Captures only the infobox of a Wikipedia article by CSS selector at twice the normal pixel density. Use it for charts, cards, tables or widgets instead of the whole page.

Try for free
Website Screenshot & PDF API: Full Page, Mobile, Cookie-Free
Website Screenshot & PDF API: Full Page, Mobile, Cookie-Freetidewell/website-screenshot-pdf
Preview
Status
URL
Device
+8 fields
Text
Number
Boolean
List
Object

Input

URLs:https://en.wikipedia.org/wiki/London
Element only (CSS selector):.infobox
Device scale factor (retina):2
Output format:png

Output fields

Preview
Status
URL
Device
Format
Width
Height
Bytes
HTTP
Page title
Time (ms)
Error

How it works

Sign up on Apify or log in

The Website Screenshot & PDF API: Full Page, Mobile, Cookie-Free Actor is ready to run with the inputs already set for "Screenshot One Element by CSS Selector at 2x". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Screenshot One Element by CSS Selector at 2x" task

The Website Screenshot & PDF API: Full Page, Mobile, Cookie-Free Actor will start running based on the input automatically. You can also change all the input fields, like URLs, element only (css selector), and more, to match your specific use case.

Receive the "Screenshot One Element by CSS Selector at 2x" 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 preview, status, URL, and more.

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 One Element by CSS Selector at 2x" task via API.

Image

Integrate "Screenshot One Element by CSS Selector at 2x" into your workflow

Connect "Screenshot One Element by CSS Selector at 2x" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

$0.002 per PNG, JPEG or WebP screenshot and $0.003 per PDF, plus a small start fee per run. Pages that fail to load are not charged.

In the run's key-value store. Each dataset row has a public fileUrl you can download or pass to another tool, plus the size, dimensions and HTTP status.

The capture fails for that URL with a clear error in the dataset and is not charged. Check the selector in your browser's developer tools first.

It sets the pixel density. 2 gives a sharp image for retina screens and print, at four times the pixels of 1.

Yes. Replace the URLs with your own, one per line, or paste raw HTML into the html field to render a snippet without hosting it.