Hello,
I’m trying to use the Element Exists activity to check if an image appears on the page and if so, to copy the path to said image.
In my robot, I use a For Each Row activity to check an Excel sheet, navigate to a URL. Check to see if there is an image, if so, copy the path save it to the data table, then move to the next row.
I created the activity using this site: DEFINE_ME. When I test using a message box, the Element Exists variable shows TRUE, and copies the path ‘https://els-jbs-prod-cdn.jbs.elsevierhealth.com/pb/assets/raw/Health%20Advance/journals/hrthm/Mark_Link_Photo.jpg’ to the spreadsheet. When the robot moves to the next row, goes to the URL and an image appears, the Element Exists variable comes back as FALSE and saves ‘https://els-jbs-prod-cdn.jbs.elsevierhealth.com/pb/assets/raw/Health%20Advance/journals/hrthm/Mark_Link_Photo.jpg’ to the variable again. Is this because the robot is looking for the image that is only on the URL above? If so, how do I make this dynamic?