Skip to main content

Function: waitForODataLoad()

waitForODataLoad(page, options?): Promise<void>

Defined in: src/modules/odata.ts:274

Waits for OData data to load by polling a binding path.

Parameters​

page​

ODataPage

Playwright Page (or compatible subset).

options?​

WaitForODataLoadOptions

Wait options (timeout, polling, bindingPath, modelName).

Returns​

Promise<void>

Throws​

TimeoutError if data does not load within the timeout.

Example​

await waitForODataLoad(page, { bindingPath: '/Products', timeout: 10_000 });