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. Kantu does this as Chrome can only take screenshots of the currently active tab.
Chrome extensions can not access the file system. Instead, the screenshot is saved internally and available in the "Screenshot tab". From there you can "download" it as an image file (PNG) if needed.
|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.