Context object.
The list of selectors to wait for.
Optional
options: WaitForSelectorOptionsWait for selector options, options are passed to each selector.
async function step(ctx: Context) {
await waitForAll(ctx, [selector1, selector2]);
}
Generated using TypeDoc
Waits for all selectors to become present.