BROWSER Screenshot an element function

The BROWSER Screenshot an element function in RPA.

Help CentreBuilding Processes

This article describes the RPA Browser functionality to screenshot an element.

For a full list of available functions, please read BROWSER functions.


Description

The BROWSER Screenshot an element function allows you to screenshot an element.


Setting it up

To use the BROWSER Screenshot an element function, follow these instructions:

{{popups:rpas/add:action=browser-screenshot}}

Once on a process map:

  1. Navigate to the process where you would like to add the BROWSER Screenshot an element function
  2. Click on the green button’s drop-down (right side of the green button labelled “Process”)
  3. On the menu that appears, click on the “+ Activity” item
  4. From here you can select the BROWSER Screenshot an element option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
Element selectorYesTextSelector to identify the element to screenshot.
Selector typeYesSelectXPathMethod to locate the element.
File pathYesTextFull path to save the screenshot image.
Visible onlyNoBooleanOffOnly capture visible elements.

Output variables

This action does not produce any output variables.


Errors

ErrorDescription
Element not foundThe element could not be found.
File path invalidThe output file path is invalid.

Tips

  • Use a .png extension for the output file.

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.