Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs(downloads): add missing await to python-async snippet (#20663)

Abe Hanoka618bec0107b6
diff --git a/docs/src/downloads.md b/docs/src/downloads.md
index 4da69a6777..d95531c824 100644
--- a/docs/src/downloads.md
+++ b/docs/src/downloads.md
@@ -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