Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.cloudcruise.com/llms.txt

Use this file to discover all available pages before exploring further.

The Screenshot node captures a screenshot of the current page or a specific element. This is useful for documentation, debugging, or visual verification.

Parameters

ParameterTypeRequiredDescription
metadataobjectNoMetadata to attach to the screenshot for identification in results
wait_timenumberNoMaximum time (ms) to wait for the element. Default: 15000
marginnumberNoViewport fraction from 0 to 1 used to deduplicate overlap during full-page scrolling. Default: 0.1
max_scrollsnumberNoMaximum number of scrolls for full-page capture
wait_after_scrollnumberNoTime to wait after each scroll (ms)

Examples

Capture a screenshot with metadata for identification in results:
{
  "id": "abc123",
  "name": "Screenshot dashboard",
  "action": "SCREENSHOT",
  "parameters": {
    "metadata": {
      "id": "123",
      "screen": "dashboard"
    }
  }
}

Notes

  • Screenshots are stored and can be accessed in the run results
  • Use margin to remove a fraction of the viewport during stitched full-page screenshots. For example, 0.1 removes 10% overlap and can help avoid duplicate sticky headers.