Captures a PNG screenshot to the specified file.
Namespace: SeleniumAssembly: ThoughtWorks.Selenium.Core (in ThoughtWorks.Selenium.Core.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
Parameters
- filename
- Type:
System String
the absolute path to the file to be written, e.g. "c:\blah\screenshot.png"
Implements
ISelenium CaptureScreenshot(String)See Also