captureScreenshot and captureEntirePageScreenshot - Selenium IDE
captureScreenshot (name of screenshot) - Selenium IDE command
captureEntirePageScreenshot takes a screenshot of the whole web page.
captureScreenshot takes a screenshot of the visible website part (viewport). This command has the side effect of giving the tab that runs the macro the focus. This means it is made the active tab. UI.Vision RPA does this as Chrome can only take screenshots of the currently active tab.
To capture the screenshot just of a web element, use storeImage.
The screenshot is saved internally and available in the "Screenshot tab". From there you can "download" it as an image file (PNG) if needed. You can automate this download with the LocalStorageExport command. OR: If you run UIV RPA in hard-drive mode the screenshot is directly saved as file in the "/screenshots/" folder below the UIV home directory (as specified in the XModule tab).
For automatically taking desktop screenshots, use the captureDesktopScreenshot command.
captureScreenshot works in the UI.Vision RPA for Chrome Selenium IDE.
captureEntirePageScreenshot works in the UI.Vision RPA for Chrome Selenium IDE and Firefox IDE Classic.
Related Demo Macros
DemoTakeScreenshot includes both commands. Demo-Autofill includes captureScreenshot
The ready-to-import-and-run source code of all demo macros can be found in the Open-Source RPA software Github repository.
click, Web Automation Extension User Manual, Selenium IDE commands, Classic Firefox Selenium IDE.
Anything wrong or missing on this page? Suggestions?
...then please contact us.