Element Screenshot

This method is used to get the screenshot of the particular element. It may be a TextBox, DropDown, Image , Button etc...


Syntax :

s.ElementScreenShot("locator");