Top Rounds
| We are Hiring! |

_wait ·

This is a Browser Action API.

Syntax:

_wait(maxTime, condition)

The parameters are:

  • maxTime: Time in milliseconds after which execution will resume
  • condition: (Optional) Condition which when satisfied will resume execution

Example:

_wait(1000);
// Will stop execution for a second
_wait(1000, _byId("ajaxy").innerHTML!="")
// Will wait till div by id “ajaxy” is populated
// or one second, whichever occurs sooner




---


Top Rounds