.missing()
FuncUnit.prototype.missing
missing([timeout] [,success] [,message])
Waits until no elements are matched by the selector. Missing is equivalent to calling
.size(0, success);
//waits until #foo leaves before continuing to the next action.
F("#foo").missing()
Parameters
-
timeout
{Number}
Optionaloverrides FuncUnit.timeout. If provided, the wait will fail if not completed before this timeout.
-
success
{function()}
Optionala callback that is run after the selector exists, but before the next action
-
message
{String}
Optionalif provided, an assertion will be passed when this wait condition completes successfully
Returns
{FuncUnit}
returns the funcUnit for chaining.