Capture Webpage
Command description
Take a screenshot of the specified web page or web page element and save it to a file.
Command Input Parameters
| input parameters | Input parameter type | Description |
|---|---|---|
| Webpage Object | WebPage | |
| Screenshot Area | enum | Web Element, Visible Webpage Area, Entire Webpage |
| Web Element | WebElement or str (captured element UID, not element name, not ms-rpa-id) | Element to capture; required only when Screenshot Area is Web Element. Select a captured element or one returned by Get Web Element, Get Similar Web Elements, or Get Related Web Elements |
| Folder Location | str | Folder to save screenshots |
| File Name Pattern | enum | Random File Name, Custom File Name |
| Custom File Name | str | Required only when File Name Pattern is Custom File Name |
| Element Wait Duration | number | Maximum time to wait for the element, in seconds; required only when Screenshot Area is Web Element |
Command Output Parameters
| Output parameters | Output parameter type | Description |
|---|---|---|
| Screenshot Save Path | str |
Type definition reference
tip
- Install the Runavelo browser extension before using this command.
- See Capture Web Elements .