• function

invisible FuncUnit.prototype.invisible


invisible([timeout] [,success] [,message])

Waits until the selector is invisible.

//waits until #foo is invisible.


  1. timeout {Number}Optional

    overrides FuncUnit.timeout. If provided, the wait will fail if not completed before this timeout.

  2. success {function()}Optional

    a callback that runs after the selector is invisible, but before the next action.

  3. message {String}Optional

    if provided, an assertion will be passed when this wait condition completes successfully



returns the funcUnit selector for chaining.