.invisible()
FuncUnit.prototype.invisible
invisible([timeout] [,success] [,message])
Waits until the selector is invisible.
//waits until #foo is invisible.
F("#foo").invisible()
Parameters
-
timeout
{Number}
Optionaloverrides FuncUnit.timeout. If provided, the wait will fail if not completed before this timeout.
-
success
{function()}
Optionala callback that runs after the selector is invisible, 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 selector for chaining.