SAVE ELEMENT SCREENSHOT

From iMacros
Jump to: navigation, search

The SAVE_ELEMENT_SCREENSHOT event takes a screenshot of the specified element. That is in contrast to SAVEITEM which attempts to download the original file from the browser cache. Another related command is SAVETARGETAS.

Notice that the element does not have to be TYPE=IMG. Any type is allowed.

The image files produced in this way are always in the PNG format and copied to the iMacros download directory by default. You can use the ONDOWNLOAD command to specify the name and location for the downloaded image, but you cannot change the image format, even if you use a different file extension.

Syntax iMacros Browser IE Plug-in Firefox

 TAG... CONTENT=EVENT:SAVE_ELEMENT_SCREENSHOT

Example

See Also

SAVEITEM, SAVEAS, SAVETARGETAS