MCPcopy Create free account
hub / github.com/microsoft/playwright-python / on_download

Function on_download

tests/async/test_download.py:242–243  ·  view source on GitHub ↗
(download: Download)

Source from the content-addressed store, hash-verified

240 on_download_path: Future[Path] = asyncio.Future()
241
242 async def on_download(download: Download) -> None:
243 on_download_path.set_result(await download.path())
244
245 page.once(
246 "download",

Calls 1

pathMethod · 0.45

Tested by

no test coverage detected