DefaultSelenium CaptureScreenshotToString Method WebDriver
Capture a PNG screenshot. It then returns the file as a base 64 encoded string.

Namespace: Selenium
Assembly: ThoughtWorks.Selenium.Core (in ThoughtWorks.Selenium.Core.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

public string CaptureScreenshotToString()

Return Value

The base 64 encoded string of the screen shot (PNG file)

Implements

ISelenium CaptureScreenshotToString 
See Also