Save screenshot to Google Drive step

Use this step to save a screenshot of a web page to a Google Drive folder. It runs in the cloud and is handy when an automation tests a website or enters data and you want visual confirmation of the result. To save to your computer instead, use the Save screenshot locally step.

You can use this step to:

  • Capture the results of UI tests
  • Confirm a web form has been submitted
  • Grab a screenshot of data
  • Help monitor the status of a web page
  • Test checkout pages

The Save screenshot to Google Drive step with its Full page and Selected element options, the Google Drive folder URL and File name boxes, the JPEG and PNG file type options and the Local folder switch, outputting the screenshot-google-drive token

How to configure the Save screenshot to Google Drive step


Selected element

Choose Full page to capture the whole page, or Selected element and pick an element on the page to capture that area only.

Google Drive folder URL

Enter the URL of the Drive folder to save the screenshot into. Click Insert Data to pass it in from a data source, or Get current URL to use the folder the bot has open.

File name

Enter a name to save the screenshot as, or click Insert Data to take it from another step such as Read data from a Google Sheet. Leave it blank to use the default Google Drive file name.

File type

Choose JPEG or PNG.

Local folder

On the desktop app, turn the switch on and set a local folder to use as an intermediate step for the save. Leave it off when the automation runs in the cloud.

The step outputs the file's Google Drive ID as the [screenshot-google-drive] token.

Guides that use this step