Waits for an XPath selector to become visible.
Context object.
the selector to wait for.
Optional
Wait for selector options.
await waitForXPath(ctx, '//button[@id="save-button"]'); Copy
await waitForXPath(ctx, '//button[@id="save-button"]');
Waits for an XPath selector to become visible.