storeImage (target, file name) - new Selenium IDE command

The storeImage command is useful to store a screenshot of the page element. It is an easy method for web scraping images from HTML text and tables.Its advantage is that it works almost always. The disadvantage is that because we take a screenshot of the image as it is displayed in the browser, we might miss a high-resolution version of this image if there is one.

If you need the extract text from the HTML source code directly use sourceExtract.

For more information about data extraction in general see Web Scraping with Selenium IDE.

To automatically take a screenshot of the complete website, see the captureEntirePageScreenshot command.

storeImage Example

Command Target Pattern/Text
open https://ui.vision/
storeImage //*[@id="content"]/div[2]/div/h2[1] ScreenshotOfTitle

Works in

Kantu for Chrome Selenium IDE

Related Demo Macros

DemoExtract, DemoTakeScreenshots

See also

captureScreenshot, storeText, Web Automation Extension User Manual, Selenium IDE commands, Classic Firefox Selenium IDE.

Anything wrong or missing on this page? Suggestions?

...then please contact us.

Kantu Selenium IDE for Chrome and Firefox - Web Test Automation
Subscribe to the a9t9 automation software newsletter . We'll send you updates on new releases that we're working on.