Actions5
- Screenshot Actions
- Metadata Actions
Overview
This node captures website screenshots using the PagePixels API, specifically supporting the 'Real Location Screenshot' operation. It allows users to capture screenshots of public URLs routed through residential IP locations (proxy servers) to simulate real-world browsing conditions. This is useful for testing website appearance and behavior from different geographic locations. Users can customize the screenshot with various options such as viewport size, image format, wait times, multi-step actions on the page, and more.
Use Case Examples
- Capture a screenshot of a website as seen from a specific residential IP location to verify localized content or ads.
- Automate capturing screenshots for website monitoring from different geographic locations to ensure consistent user experience.
- Use multi-step actions to interact with the webpage (e.g., clicking buttons or filling forms) before taking the screenshot.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method to authenticate API requests, either via API Key or OAuth2. |
| URL | The public URL of the website to capture in the screenshot. |
| Proxy Location Name or ID | The residential IP location to route the screenshot request through, simulating a real location. |
| Options | A collection of optional parameters to customize the screenshot capture, including time zone, wait time, CSS selectors, viewport size, image format, injected CSS/JS, headers, cookies, geolocation, and more. |
Output
JSON
screenshotUrl- URL of the captured screenshot image.screenshotMetadata- Metadata about the screenshot capture such as dimensions, format, and capture time.
Dependencies
- PagePixels API
Troubleshooting
- Ensure the provided URL is publicly accessible and correctly formatted to avoid capture errors.
- Verify the selected proxy location is valid and available to route the request.
- Check API authentication credentials are correctly configured and have necessary permissions.
- If using multi-step actions, ensure the JSON syntax is correct and selectors exist on the page.
- Timeouts may occur if the page takes too long to load; adjust wait times or timeout settings accordingly.
Links
- PagePixels Multi-Step Screenshot Documentation - Reference for configuring multi-step actions for screenshots.