Skip to main content
Utils

Capture the screen

Capture the screen

Captures an image of the whole screen area at the moment of the run and saves the file to a local path. Useful for recording the state of the screen at specific points of the flow, creating run evidence or documenting visual errors.


Options

Path to save the capture

Enter the full path where the captured image will be saved, including the file name and extension. The destination folder must already exist.

Returns

Javascript code

js
actions["action-id"].path // path of the image file produced (Text)

Field selection

  • path — full path of the screenshot file produced (Text)

Rules and Conditions

  • The Path field is required and must include the file name with an extension, such as .png.
  • The destination folder must exist before the run — the robot does not create it automatically.
  • The whole visible area of the main monitor is captured.