Detect an element and take a screenshot of a certain space around it?

Hi,

I’m trying to make an automation that finds a specific element on a page takes a screenshot of the area around it, then continues scrolling to find the next element. I’ve tried using find elements with anchor points which have ultimately been unsuccessful. Any help with this would be appreciated.

Thanks