Browser Image capture

Hi fellow robonauts!

I captured two images and one of the images seems to be cut off at the bottom. The image I attached shows the original photo on the left and the outcome from Lab on the right. Note there is another photo on the same page which was grabbed correctly. I also added a 10 second sleep after the image capture to ensure the robot wasn’t shutting down to fast.

Capture Element Screenshot xpath://[@id=“divDisplayParcelTaxMap”]/div[2]/div[2]/img
Capture Element Screenshot xpath://
[@id=“divDisplayParcelPhoto”]/div[2]/div[2]/a/img
Sleep 10s

I figured it out. The image was not scrolled all the way down. So I used a “Scroll Element Into View” but that still didn’t work as technically the image was partially in view. So I did a “Scroll Element Into View” for an element below the image and now all is working. Hope this helps others.

4 Likes