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

Provides a mechanism to find the Chrome Binary
파일 보기 프로젝트 열기: epall/selenium 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ChromeBinary System
GetChromeFile string
IsChromeBinaryLocationKnown bool

공개 메소드들

메소드 설명
IncrementStartWaitInterval ( int diff ) : void

Increases the wait time

Kill ( ) : void

Kills off the Browser Instance

Start ( string serverUrl ) : void

Starts the Chrome process for WebDriver. Assumes the passed directories exist.

비공개 메소드들

메소드 설명
ChromeBinary ( ChromeProfile profile, ChromeExtension extension ) : System

Initializes a new instance of the ChromeBinary class using the given ChromeProfile and extension.

GetChromeFile ( ) : string

Locates the Chrome executable on the current platform. First looks in the webdriver.chrome.bin property, then searches through the default expected locations.

IsChromeBinaryLocationKnown ( ) : bool

메소드 상세

IncrementStartWaitInterval() 공개 정적인 메소드

Increases the wait time
public static IncrementStartWaitInterval ( int diff ) : void
diff int How long to wait
리턴 void

Kill() 공개 메소드

Kills off the Browser Instance
public Kill ( ) : void
리턴 void

Start() 공개 메소드

Starts the Chrome process for WebDriver. Assumes the passed directories exist.
When it can't launch will throw an error
public Start ( string serverUrl ) : void
serverUrl string URL from which commands should be requested
리턴 void