Skip to main content

Take Screenshot

Captures a screenshot of the entire screen and saves it to a specified file path.

Common Properties​

  • Name - The custom name of the node.
  • Color - The custom color of the node.
  • Delay Before (sec) - Waits in seconds before executing the node.
  • Delay After (sec) - Waits in seconds after executing node.
  • Continue On Error - Automation will continue regardless of any error. The default value is false.

Inputs​

  • Save Path - The file path where the screenshot will be saved.

Options​

This node does not have any options.

Outputs​

This node does not have outputs.

How It Works​

The Take Screenshot node captures the current screen and saves it as an image file. When executed, the node:

  1. Takes a screenshot of the entire screen using pyautogui
  2. Converts the screenshot to the appropriate color format
  3. Saves the image to the specified file path using OpenCV

Requirements​

  • Valid file path for saving the screenshot
  • Write permissions to the specified directory

Error Handling​

The node will return specific errors in the following cases:

  • Empty save path - "Save Path can not be empty"

Usage Notes​

  • This node captures the entire screen, not just a specific region
  • The saved image format is determined by the file extension in the save path
  • Common formats include PNG, JPG, and BMP
  • Useful for debugging automation workflows or documenting steps
  • Can be combined with other image processing nodes for further analysis
  • The screenshot is saved immediately to the specified path
  • Make sure the directory in the save path exists and is writable
  • This node is helpful for creating visual logs of automation processes