Crop Image

Hello, I was wondering how I can go about cropping a screenshot taken in the same script. If someone could write the code to do this, that would be very helpful. I understand that I should use commands such as CropImageFilter, but I’m not sure how to write it out in script. Thanks!

I found some solutions at https://stackoverflow.com/questions/13832322/how-to-capture-the-screenshot-of-a-specific-element-rather-than-entire-page-usin

Hope that it helps. I haven’t tried it before ^^