ScreenshotImageFormat EnumerationWebDriver
File format for saving screenshots.

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

public enum ScreenshotImageFormat
Members

  Member nameValueDescription
Png0 W3C Portable Network Graphics image format.
Jpeg1 Joint Photgraphic Experts Group image format.
Gif2 Graphics Interchange Format image format.
Tiff3 Tagged Image File Format image format.
Bmp4 Bitmap image format.
See Also

Reference