Screenshot one element of a web page
Brandon Ob
Capture just one part of a page by CSS selector, for example a pricing table, header or chart, instead of the whole page.
Input
Output fields
Sign up on Apify or log in
The Website Screenshot API Actor is ready to run with the inputs already set for "Screenshot one element of a web 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 of a web page" task
The Website Screenshot API Actor will start running based on the input automatically. You can also change all the input fields, like URLs to screenshot and only this element (css selector), to match your specific use case.
Receive the "Screenshot one element of a web 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, page title, HTTP, 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 of a web page" task via API.

The element screenshot task takes any CSS selector, such as #pricing or .chart. The first matching element is captured.
The element screenshot task costs $1 per 1,000 screenshots.
Each screenshot from the element screenshot task is stored in the run's key-value store, and the dataset row has a direct screenshotUrl link you can open or share.