mang...@gmail.com writes:
> On Tuesday, April 9, 2013 12:55:32 AM UTC-7, Maxim wrote:
>>
>> You can
>> 1. Grab full-page screenshot
>> 2. Get WebElement position
>> 3. Get WebElement dimension
>> 4. Crop WebElement image from page screenshot
>> 5. Save WebElement image to disk
Please note that Selenium isn't designed for this purpose. A much
better approach if you indeed need to save an image to disk (I'm not
sure why you'd want to do that), getting the img element's src attribute
from Selenium, and passing this on to curl or wget would be a much
better approach.