DefaultSelenium CaptureScreenshot Method WebDriver
Captures a PNG screenshot to the specified file.

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

public void CaptureScreenshot(
	string filename
)

Parameters

filename
Type: OnlineSystem String
the absolute path to the file to be written, e.g. "c:\blah\screenshot.png"

Implements

ISelenium CaptureScreenshot(String)
See Also