Go to example tasks

Screenshot one element instead of the whole page

Give it a CSS selector and only that element is captured - a pricing table, a chart, an infobox - cropped to its own bounds and at retina resolution, with the rest of the page left out of the image.

Try for free
Website Screenshot & HTML to PDF Generator API
Website Screenshot & HTML to PDF Generator APIpower_on/screenshot-url-pdf
Url
OK
File
Format
+9 fields
Text
Number
Boolean
List
Object

Input

URLs:https://en.wikipedia.org/wiki/Python_(programming_language)
Element selector:table.infobox
Output format:png
Pixel density:2

Output fields

Url
OK
File
Format
Width
Height
Cut short
Size
Title
Status code
Fully loaded
Duration ms
Error

How it works

Sign up on Apify or log in

The Website Screenshot & HTML to PDF Generator API Actor is ready to run with the inputs already set for "Screenshot one element instead of the whole page". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Screenshot one element instead of the whole page" task

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

Receive the "Screenshot one element instead of the whole page" 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, OK, file, 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 instead of the whole page" task via API.

Image

Integrate "Screenshot one element instead of the whole page" into your workflow

Connect "Screenshot one element instead of the whole page" 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