mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs(downloads): add missing await to python-async snippet (#20663)
fixes #20662 --------- Signed-off-by: Max Schmitt <max@schmitt.mx> Co-authored-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
parent
bcecce6b6e
commit
618bec0107
@ -48,7 +48,7 @@ download = await download_info.value
|
||||
# Wait for the download process to complete
|
||||
print(await download.path())
|
||||
# Save downloaded file somewhere
|
||||
download.save_as("/path/to/save/download/at.txt")
|
||||
await download.save_as("/path/to/save/download/at.txt")
|
||||
```
|
||||
|
||||
```python sync
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user