Kind: Function
Source: atloria-monorepo/apps/web-e2e/src/utils/test-helpers.ts
Wait for an element to be visible and stable
Signature
tsasync function waitForElement(page: Page, selector: string, options: { timeout?: number }): Promise<Locator>
Parameters
| Name | Type |
|---|---|
page | Page |
selector | string |
options | { timeout?: number } |
Returns: Promise<Locator>
Was this page helpful?