Click or drag to resize

TakeScreenShot Methods

Framework to automate tests using Selenium WebDriver

The TakeScreenShot type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCode exampleCutOutScreenShot Cut out the screen shot by giving locationX, locationY, elementWidth, elementHeight.
Public methodStatic memberDoIt Takes screen shot.
Public methodStatic memberSave Saves the specified bitmap.
Public methodStatic memberCode exampleTakeScreenShotOfElement(IWebElement, String, String) Takes screen shot of specific element.
Public methodStatic memberCode exampleTakeScreenShotOfElement(Int32, Int32, IWebElement, String, String) Takes screen shot of specific element within iframe.
Top
See Also