Save Image Element


Locates an image element in the webpage and saves it into a file, the action can also save the image binary data into the variable.

Parameters

  • Page name Specifies which page will be read. The webpage should be opened or connected before executing this action.

  • Locate element by its path in page Specifies the element path in the page. For example: HTML.BODY.H1(2)

  • Locate element by its attributes

    • Element type must be Specifies the type of the element.

    • ID must be Specifies the element ID.

    • Name must be Specifies the element name.

    • Display text must be Specifies the display text for the element.

    • URL must be The option is for the hyperlink element.

    • Index of elements that match criteria Specifies the position of matched elements collection when more than one element meet the criteria.

    • Searching in main frame Specifies whether to search for the element in the main frame in the webpage.

    • Frame name must be Specifies the frame name if searching for the element in a specified frame.

    • Index of frames that match criteria If more than one frame has the same name, specifies the index of the frames collection.

    • Form name must be Specifies the form name if searching for the element in a specified form.

    • Index of forms that match criteria If more than one form has the same name, specifies the index of the forms collection.

    • Element attributes Specifies an attributes filter for the searching, using the standard HTML syntax, for example: id="abc" name="login"

    • Match case Specifies whether the search is case-sensitive.

    • Match whole word Specifies whether to search only for whole words that match the search content.

    • Only visible element Specifies whether to ignore the hidden elements.

  • Image format Specifies the image data format. It can be BMP, JPG, GIF, or GIF.

  • Save to file Optionally, specifies the file path name for saving the image data.

  • If file exists Specifies how to handle the file if there is a same name file existed. It can be "Don't save", "Overwrite existing file", "Save with an unique filename". With the option "Save with an unique filename", the new file will be renamed as "abc01.bmp", "abc02.bmp" and so on.

  • Save image data into variable Optionally, specifies a variable for holding the image data, in the binary format.

Notes:

With the option Save image data into variable, you can store the image data into a variable, and show it by using the action "Input Dialog".

For the checkbox, you can use the number 1 or text true to check it.