Skip to content

waitForNavigation

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/apps/web-e2e/src/utils/test-helpers.ts

Wait for navigation to complete

Signature

ts
async function waitForNavigation(page: Page, urlPattern: string | RegExp): Promise<void>

Parameters

NameType
pagePage
urlPattern`string

Returns: Promise<void>

Was this page helpful?

Download as PDF