.visible()
FuncUnit.prototype.visible
visible([timeout] [,success] [,message])
Waits until the funcUnit selector is visible.
//waits until #foo is visible.
F("#foo").visible()
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 funcUnit is visible, 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.