DefaultSeleniumCaptureScreenshotToString 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: 3.1.0
Syntax

public string CaptureScreenshotToString()

Return Value

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

Implements

ISeleniumCaptureScreenshotToString
See Also

Reference