Website Screenshot & PDF
Pricing
Pay per event
Website Screenshot & PDF
Reliable full-page screenshots (PNG/JPEG) and PDFs of any public URL, in desktop, tablet and mobile viewports. Hides cookie banners, loads lazy images, never charges for failed pages.
Pricing
Pay per event
Rating
0.0
(0)
Developer
Cellwright
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
7 hours ago
Last modified
Categories
Features
Share
Capture reliable full-page screenshots (PNG/JPEG) and PDFs of any public web page – in desktop, laptop, tablet and mobile viewports, in one run. Cookie banners are hidden, lazy-loaded images are loaded, and you never pay for pages that fail.
Built for monitoring, QA, archiving, reporting, visual regression and AI agents that need to "see" a page.
Why this Actor
- One record per URL × viewport – success or a clear error with a reason. No silent gaps.
- Failed pages are free. Transient errors are retried twice automatically.
- Clean captures: common consent overlays (OneTrust, Cookiebot, Usercentrics, Quantcast, …) are hidden; you can hide extra elements via CSS selectors.
- Full page, done right: scrolls first so lazy images render; very long pages are capped at 20,000 px (flagged as
truncated). - Retina mobile viewport (390×844 @2x) and custom sizes like
1440x900. - Dark mode emulation, JPEG quality, extra delay for animations.
Use cases
- Bulk website screenshots from a URL list – e.g. thumbnails for a directory, link previews, client reports.
- Mobile vs. desktop checks – the same page in up to 5 viewports in one run (responsive QA).
- Monitoring and archiving – schedule a task daily or weekly and keep a dated visual history of pages.
- Web page to PDF – save articles, terms or invoices as PDF for records.
- AI agents and LLM workflows – give a model a screenshot of the page it should judge.
Input
| Field | Default | Description |
|---|---|---|
urls | – | Pages to capture (https:// is added if missing) |
viewports | ["desktop"] | desktop 1920×1080, laptop 1366×768, tablet 768×1024, mobile 390×844, or WIDTHxHEIGHT |
format | png | png, jpeg or pdf |
fullPage | true | Whole page instead of the visible area |
hideCookieBanners | true | Hide common consent overlays |
scrollToBottom | true | Trigger lazy-loaded content |
waitUntil | networkidle | Falls back to load if the page never goes idle |
delayMs | 0 | Extra wait before capture (max 30 s) |
hideSelectors | – | Extra CSS selectors to hide |
darkMode | false | prefers-color-scheme: dark |
jpegQuality | 80 | 10–100 |
timeoutSecs | 45 | Per page load |
maxConcurrency | 3 | Parallel pages (1–10) |
respectRobotsTxt | true | Skip pages disallowed by robots.txt |
Example:
{ "urls": [{ "url": "https://example.com" }], "viewports": ["desktop", "mobile"], "format": "png" }
Output
Screenshots are stored in the run's key-value store; each dataset record links to its file.
| Field | Description |
|---|---|
ok | true on success; false with error and errorType (input, robots, blocked, capture) |
url, finalUrl | Requested URL and URL after redirects |
screenshotUrl | Direct link to the image/PDF |
key | Key-value store record key |
statusCode, title | HTTP status and page title |
viewport, width, height | Viewport used |
pageHeight, truncated | Full document height; true if capped at 20,000 px |
format, contentType, bytes | File info |
takenAt | UTC timestamp |
Pricing
Pay per event: one screenshot event per successful capture (URL × viewport). Failed, blocked or skipped pages are not charged. You can set a maximum cost per run in Apify.
FAQ
How much does a screenshot cost? USD 0.002 per successful capture (USD 2 per 1,000), plus Apify's small actor-start fee. Failed, blocked or skipped pages are free.
Can I capture many URLs at once? Yes – add as many URLs as you like; up to 10 pages are processed in parallel. Each URL × viewport becomes one dataset record.
How do I get mobile screenshots? Add mobile (390×844, retina) or tablet to viewports, or a custom size like 1440x900.
Can I save a web page as PDF? Yes, set format to pdf.
How do I download the images? Each record has a screenshotUrl; all files are also in the run's key-value store. Export the dataset as CSV/Excel/JSON to get the link list.
How do I take screenshots every day? Save your input as a task and add an Apify schedule (e.g. daily at 06:00). Every run keeps its own dated files.
Can I call it as a screenshot API? Yes: POST https://api.apify.com/v2/acts/cellwright~website-screenshot/run-sync-get-dataset-items?token=YOUR_TOKEN with the input JSON returns the records (with image links) directly.
Why is my full-page screenshot cut off? Pages taller than 20,000 px are capped and flagged with truncated: true. Capture the visible area (fullPage: false) or a larger viewport instead.
Does it work behind a login or on pages with CAPTCHAs? No. Only public pages; bot-protected pages fail and are not charged.
Fair use & limits
- Public pages only: no login, no CAPTCHA solving, no bypassing of bot protection. Pages that block automated browsers will fail (free).
- Private, internal and cloud-metadata addresses are refused.
- robots.txt is respected by default. Disable it only for sites you own or are allowed to capture.
- You are responsible for how you use captured content (copyright, terms of the captured site).
Use with AI agents (MCP)
Works as a tool in the Apify MCP server: give an agent a URL, get back a link to the screenshot plus page title, status and final URL.