WebElementWaitForScript Method
Waits for a script to return true or not null.

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: (
VB Usage
Dim instance As WebElement
Dim script As String
Dim arguments As Object
Dim timeout As Integer
Dim returnValue As Object

returnValue = instance.WaitForScript(script, 
	arguments, timeout)


Type: SystemString
The JavaScript code to execute.
arguments (Optional)
Type: SystemObject
The arguments to the script.
timeout (Optional)
Type: SystemInt32
Optional timeout in milliseconds.

Return Value

Type: Object
Value not null
See Also