C# 클래스 OpenQA.Selenium.DriverService

Exposes the service provided by a native WebDriver server executable.
상속: IDisposable
파일 보기 프로젝트 열기: krosenvold/selenium-git-release-candidate 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Releases all resources associated with this DriverService.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases all resources associated with this DriverService.

DriverService ( string servicePath, int port, string driverServiceExecutableName, Uri driverServiceDownloadUrl ) : System

Initializes a new instance of the DriverService class.

FindDriverServiceExecutable ( string executableName, Uri downloadUrl ) : string

Finds the specified driver service executable.

비공개 메소드들

메소드 설명
Start ( ) : void
Stop ( ) : void

메소드 상세

Dispose() 공개 메소드

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

Dispose() 보호된 메소드

Releases all resources associated with this DriverService.
protected Dispose ( bool disposing ) : void
disposing bool if the Dispose method was explicitly called; otherwise, .
리턴 void

DriverService() 보호된 메소드

Initializes a new instance of the DriverService class.
/// If the path specified is or an empty string. /// /// If the specified driver service executable does not exist in the specified directory. ///
protected DriverService ( string servicePath, int port, string driverServiceExecutableName, Uri driverServiceDownloadUrl ) : System
servicePath string The full path to the directory containing the executable providing the service to drive the browser.
port int The port on which the driver executable should listen.
driverServiceExecutableName string The file name of the driver service executable.
driverServiceDownloadUrl System.Uri A URL at which the driver service executable may be downloaded.
리턴 System

FindDriverServiceExecutable() 보호된 정적인 메소드

Finds the specified driver service executable.
/// If the specified driver service executable does not exist in the current directory or in a directory on the system path. ///
protected static FindDriverServiceExecutable ( string executableName, Uri downloadUrl ) : string
executableName string The file name of the executable to find.
downloadUrl System.Uri A URL at which the driver service executable may be downloaded.
리턴 string