Captures an image of the element even if it is hidden by other elements.
If this does not succeed, the visible portion of the element is captured using a screenshot.
- element (Element)
- The element to capture.
The captured image.
