C# 클래스 OpenQA.Selenium.Chrome.ChromeDriverService

Exposes the service provided by the native ChromeDriver executable.
상속: IDisposable
파일 보기 프로젝트 열기: asynchrony/Selenium2 1 사용 예제들

공개 메소드들

메소드 설명
CreateDefaultService ( ) : ChromeDriverService

Creates a default instance of the ChromeDriverService.

CreateDefaultService ( string driverPath ) : ChromeDriverService

Creates a default instance of the ChromeDriverService using a specified path to the ChromeDriver executable.

Dispose ( ) : void

Releases all resources associated with this ChromeDriverService.

비공개 메소드들

메소드 설명
ChromeDriverService ( string executable, int port ) : System

Initializes a new instance of the ChromeDriverService class.

FindFreePort ( ) : int
Start ( ) : void
Stop ( ) : void

메소드 상세

CreateDefaultService() 공개 정적인 메소드

Creates a default instance of the ChromeDriverService.
public static CreateDefaultService ( ) : ChromeDriverService
리턴 ChromeDriverService

CreateDefaultService() 공개 정적인 메소드

Creates a default instance of the ChromeDriverService using a specified path to the ChromeDriver executable.
public static CreateDefaultService ( string driverPath ) : ChromeDriverService
driverPath string The directory containing the ChromeDriver executable.
리턴 ChromeDriverService

Dispose() 공개 메소드

Releases all resources associated with this ChromeDriverService.
public Dispose ( ) : void
리턴 void