Skip to main content
Version: Next

waitUntil

production

Wait until an AskUICommand does not fail.

Use it to wait for an element to appear like this:

Examples:

await aui.waitUntil(aui.expect().text('GitHub').exists());
  • @param {Executable} AskUICommand
  • @param {number} maxTry - Number of maximum retries
  • @param {number} waitTime - Time in milliseconds