Full Website Screenshot Generator avatar
Full Website Screenshot Generator

Pricing

Pay per event

Go to Store
Full Website Screenshot Generator

Full Website Screenshot Generator

Developed by

Akash Kumar Naik

Akash Kumar Naik

Maintained by Community

Generate a screenshot of any website by entering its URL. The image is stored in a key-value store, making it ideal for tracking visual changes on webpages—especially when run on a scheduled basis.

0.0 (0)

Pricing

Pay per event

0

Total users

3

Monthly users

3

Runs succeeded

87%

Last modified

19 hours ago

Screenshot Actor

This Apify actor captures screenshots of web pages with various configuration options.

Features

  • Full page or viewport screenshots
  • Multiple image formats (PNG, JPEG, WebP)
  • Element-specific screenshots
  • Custom viewport sizes
  • Wait for specific selectors
  • Configurable timeouts

Input Parameters

  • url (required): The URL to capture
  • fullPage: Capture full scrollable page (default: false)
  • format: Image format - png, jpeg, or webp (default: png)
  • quality: Image quality 1-100 for JPEG/WebP (default: 80)
  • viewportConfig: Browser viewport settings
  • selector: CSS selector for specific element
  • waitForSelector: CSS selector to wait for
  • clipArea: Specific area to clip {x, y, width, height}
  • timeout: Page load timeout in ms (default: 30000)
  • additionalWaitTime: Extra wait time after load (default: 0)

Output

The actor saves screenshots to the key-value store and outputs metadata including:

  • Success status
  • Filename
  • URL
  • Timestamp
  • File size

Usage Examples

Basic Screenshot

{
"url": "https://example.com"
}

Full Page JPEG

{
"url": "https://example.com",
"fullPage": true,
"format": "jpeg",
"quality": 90
}

Element Screenshot

{
"url": "https://example.com",
"selector": ".main-content",
"waitForSelector": ".content-loaded"
}

Custom Viewport

{
"url": "https://example.com",
"viewportConfig": {
"width": 1366,
"height": 768,
"deviceScaleFactor": 2
}
}

Setup Instructions

  1. Create a new actor on Apify
  2. Upload these files:
    • main.js
    • package.json
    • INPUT_SCHEMA.json
    • Dockerfile
  3. Build and run the actor

API Usage

You can also call this actor via Apify API:

curl -X POST https://api.apify.com/v2/acts/YOUR_ACTOR_ID/runs \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"url": "https://example.com",
"fullPage": true
}'

Notes

  • Screenshots are saved in the actor's key-value store
  • The actor uses Apify's managed Puppeteer browser
  • All screenshots include metadata in the output dataset
  • Maximum timeout is limited to 3 minutes for safety