WebElementTakeScreenshot Method
Gets the screenshot of the current element

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax
VB Usage
Dim instance As WebElement
Dim delayms As Integer
Dim returnValue As Image

returnValue = instance.TakeScreenshot(delayms)

Parameters

delayms (Optional)
Type: SystemInt32

[Missing <param name="delayms"/> documentation for "M:Selenium.WebElement.TakeScreenshot(System.Int32)"]

Return Value

Type: Image
Image
See Also