C# 클래스 OpenQA.Selenium.Screenshot

Represents an image of the page currently loaded in the browser.
파일 보기 프로젝트 열기: asynchrony/Selenium2 1 사용 예제들

공개 메소드들

메소드 설명
SaveAsFile ( string fileName, ImageFormat format ) : void

Saves the screenshot to a file, overwriting the file if it already exists.

Screenshot ( string base64EncodedScreenshot ) : System

Initializes a new instance of the Screenshot class.

ToString ( ) : string

Returns a String that represents the current Object.

메소드 상세

SaveAsFile() 공개 메소드

Saves the screenshot to a file, overwriting the file if it already exists.
public SaveAsFile ( string fileName, ImageFormat format ) : void
fileName string The full path and file name to save the screenshot to.
format System.Drawing.Imaging.ImageFormat A object indicating the format /// to save the image to.
리턴 void

Screenshot() 공개 메소드

Initializes a new instance of the Screenshot class.
public Screenshot ( string base64EncodedScreenshot ) : System
base64EncodedScreenshot string The image of the page as a Base64-encoded string.
리턴 System

ToString() 공개 메소드

Returns a String that represents the current Object.
public ToString ( ) : string
리턴 string