Functions
toContainUrl
- toContainUrl(page: Page, expectedUrl: string, options?: PageWaitForUrlOptions): Promise<SyncExpectationResult>
-
Parameters
-
page: Page
-
expectedUrl: string
-
Optional options: PageWaitForUrlOptions
Returns Promise<SyncExpectationResult>
Use
toContainUrl
function when you want to check that page's url contains the expected url