Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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"
,
Callers
2
test_report_download_path_within_page_on_download_handler_for_files
Function · 0.85
test_download_report_download_path_within_page_on_handle_for_blobs
Function · 0.85
Calls
1
path
Method · 0.45
Tested by
no test coverage detected