Context object.
Text to wait for.
Optional
element: stringElement in which to wait for text.
Optional
options: WaitForSelectorOptionsWait options.
const xlabel = waitForText(ctx, '*', element);
const xlabel = waitForText(ctx, '*', element, {hidden:true, timeout:200});
Generated using TypeDoc
Waits for text to appear in element.