Go down
Posts : 8
Join date : 2012-11-14

How to capture screenshot only the specific element?

on Wed Dec 12, 2012 10:38 am
Currently I trying to capture a screenshot using the Selenium WebDriver but most far as i can go is just the whole page screen shot. However, what I wanted is just to capture a part of the page or perhaps just on specific element based on id. Any way to capture a screenshot by selected item or element?

For example, i wish to capture the picture with image id = "Butterfly" only... Is it possible to do that? Thank in advance.
Back to top
Permissions in this forum:
You cannot reply to topics in this forum