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.
|captureEntirePageScreenshot||my screenshot name||-|
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 Github repository testmacros folder.
Anything wrong or missing on this page? Suggestions?
...then please contact us.