| WebDriverStartRemotely メソッド |
リモートで新しい Selenium テストセッションを開始します。
名前空間: Seleniumアセンブリ: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
構文Dim instance As WebDriver
Dim executorUri As String
Dim browser As String
Dim version As String
Dim platform As String
instance.StartRemotely(executorUri, browser,
version, platform)
パラメータ
- executorUri
- 型: SystemString
Remote executor address (ex : "http://localhost:4444/wd/hub") - browser(省略可)
- 型: SystemString
ブラウザ名(firefox, ie, chrome, phantomjs など)。, htmlunit, htmlunitwithjavascript, android, ipad, opera - version(省略可)
- 型: SystemString
Browser version - platform(省略可)
- 型: SystemString
Platform: WINDOWS, LINUX, MAC, ANDROID...
例Dim driver As New WebDriver()
driver.StartRemotely "http://localhost:4444/wd/hub", "ie", 11
driver.Get "/"
参照