I am trying to write an automation that relies on checking an image to determine if the next step should be continued or not. For example let’s say my bot needs to wait to see this image before proceeding:
(see below screenshot)
However, I cannot just use a Find Image activity and move on, because this image occurs in several parts of a web page, and in some events the surrounding selectors are identical.
I need a way to look at the very first row only on this webpage, and see if the checkmark image exists only in that row. For example see this image (I will link the demo at the bottom of the post)
As you can see there is multiple of the same image.
I cannot find anyway to differentiate the first and third row of this table. The selectors there are identical.
I tried using the Get Position activity to get the coordinates of where my specific image resides (1st row), and then entering those coordinates within the ClippingRegion within the Find Image activity but I could not get this to work.
Link to demo: