| WebElementExecuteAsyncScript メソッド |
Execute an asynchronous piece of JavaScript in the context of the current element
名前空間: Seleniumアセンブリ: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
構文Dim instance As WebElement
Dim script As String
Dim arguments As Object
Dim timeout As Integer
Dim returnValue As Object
returnValue = instance.ExecuteAsyncScript(script,
arguments, timeout)
パラメータ
- script
- 型: SystemString
実行する JavaScript コード。 - arguments(省略可)
- 型: SystemObject
スクリプトへの省略可能な引数。 - timeout(省略可)
- 型: SystemInt32
省略可。タイムアウト(ミリ秒)。.
戻り値
型:
ObjectThe first argument of the callback function.
例href = ele.ExecuteAsyncScript("callback(this.href);");"
参照