API DOCS
Function: waitFor
function waitFor($script, $tenths)
Parameters:
script
(string) A piece of javascript code that evaulates to true or false.
tenths
(integer) The number of 1/10ths of a second to wait before timing out and continuing with the execution of the responsecommands.
Returns:
object
The object.
