ITakesScreenshotGetScreenshot Method WebDriver
Gets a Screenshot object representing the image of the page on the screen.

Namespace: OpenQA.Selenium
Assembly: WebDriver (in WebDriver.dll) Version: 3.1.0
Syntax

Screenshot GetScreenshot()

Return Value

Type: Screenshot
A Screenshot object containing the image.
See Also

Reference