WAHA

Connect with Whatsapp HTTP API

Actions116

Overview

This node performs a screenshot operation using a specified session identifier. It is useful for capturing the current visual state of a web session or application interface for monitoring, testing, or documentation purposes. For example, it can be used to automate the capture of website screenshots during a user session or to verify UI changes in automated workflows.

Use Case Examples

  1. Capture a screenshot of a web page during a user session for visual verification.
  2. Automate periodic screenshots of a dashboard to monitor changes over time.

Properties

Name Meaning
Session The session identifier used to specify which session to capture the screenshot from.
Request Options Various options to control the HTTP request behavior such as batching, SSL certificate validation, proxy settings, and timeout duration.

Output

JSON

  • screenshotUrl - URL or data of the captured screenshot image.
  • session - The session identifier used for the screenshot operation.
  • status - Status of the screenshot request, indicating success or failure.

Dependencies

  • Requires a valid session identifier to perform the screenshot operation.

Troubleshooting

  • Ensure the session identifier is valid and active; invalid sessions will cause the screenshot operation to fail.
  • If SSL certificate validation fails and the request is blocked, enable the 'Ignore SSL Issues' option to bypass this check, but be aware of security risks.
  • Proxy settings must be correctly configured if used; incorrect proxy URLs or credentials will cause request failures.
  • Timeouts can occur if the server is slow to respond; increase the timeout setting if necessary.

Discussion