(
self,
url: URLMatch,
waitUntil: DocumentLoadState = None,
timeout: float = None,
)
| 276 | return EventContextManagerImpl(asyncio.create_task(continuation())) |
| 277 | |
| 278 | async def wait_for_url( |
| 279 | self, |
| 280 | url: URLMatch, |
| 281 | waitUntil: DocumentLoadState = None, |
| 282 | timeout: float = None, |
| 283 | ) -> None: |
| 284 | assert self._page |
| 285 | if url_matches(self._page._browser_context._base_url, self.url, url): |
| 286 | await self._wait_for_load_state_impl(state=waitUntil, timeout=timeout) |
| 287 | return |
| 288 | async with self.expect_navigation( |
| 289 | url=url, waitUntil=waitUntil, timeout=timeout |
| 290 | ): |
| 291 | pass |
| 292 | |
| 293 | async def wait_for_load_state( |
| 294 | self, |
nothing calls this directly
no test coverage detected