Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs: remove api ref and improve text (#17099)
Debbie O'Briend7e45c44de1d
diff --git a/docs/src/downloads.md b/docs/src/downloads.mdindex 337dea74f2..9031b8816e 100644--- a/docs/src/downloads.md+++ b/docs/src/downloads.md@@ -3,13 +3,9 @@ id: downloadstitle: "Downloads"----:::note-For uploading files, see the [uploading files](./input.md#upload-files) section.-:::-For every attachment downloaded by the page, [`event: Page.download`] event is emitted. All these attachments are going-to be downloaded into a temporary folder. You can obtain the download url, file system path and payload stream using-the [Download] object from the event.++For every attachment downloaded by the page, [`event: Page.download`] event is emitted. All these attachments are downloaded into a temporary folder. You can obtain the download url, file system path and payload stream using the [Download] object from the event.You can specify where to persist downloaded files using the [`option: downloadsPath`] option in [`method: BrowserType.launch`].@@ -107,9 +103,8 @@ page.on("download", lambda download: print(download.path()))page.Download += (sender, download) => Console.WriteLine(download.Url);```-Note that handling the event forks the control flow and makes script harder to follow. Your scenario might end while you-are downloading a file since your main control flow is not awaiting for this operation to resolve.+Note that handling the event forks the control flow and makes the script harder to follow. Your scenario might end while you are downloading a file since your main control flow is not awaiting for this operation to resolve.-### API reference-- [Download]-- [`event: Page.download`]+:::note+For uploading files, see the [uploading files](./input.md#upload-files) section.+:::