Description
Finds an image on the screen and returns it's coordinates.
In practice, this activity is most often used as an alternative to the "Element found?" activity, for both browser and desktop applications.
Parameters
Create image from screenshot - allows you to take a screenshot and crop it to an image.
Screenshots are saved at C:\Users\<Username>\ElectroNeek\screenshots by default.
-
Set a value: set the path to an image.
-
Save the previous step result: takes the previous activity result as a value.
-
Calculate a value: use JS to calculate the value.
Sets the accuracy of the search. If the value is set to 100%, the robot will search for an exact match.
Select an element from a list or create new one.
Contains an annotation to the activity. The input text will be displayed above the activity name.
Result
The found images are stored in the found_images
variable by default. The variable represents an array of key-value pairs object where one object corresponds to one image. One object contains the following keys and values
{
"x": "x coordinate of the image top left corner",
"y": "y coordinate of the image top left corner",
"width": "the image width",
"height": "the image height"
}