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(uploads): fix typo
Arjun Attamae6b1ba7ce5c
diff --git a/docs/uploadDownload.md b/docs/uploadDownload.mdindex 2aff42a2c6..398716553e 100644--- a/docs/uploadDownload.md+++ b/docs/uploadDownload.md@@ -73,9 +73,9 @@ Note that handling the event forks the control flow and makes script harder to f## Handle file downloads```js-const [ dowload ] = await Promise.all([- page.waitForEvent('dowload'), // <-- start waiting for the download- page.click('button#delayed-dowload') // <-- perform the action that directly or indirectly initiates it.+const [ download ] = await Promise.all([+ page.waitForEvent('download'), // <-- start waiting for the download+ page.click('button#delayed-download') // <-- perform the action that directly or indirectly initiates it.]);const path = await download.path();```@@ -99,4 +99,4 @@ Note that handling the event forks the control flow and makes script harder to f- [`page.waitForEvent(event)`](https://github.com/microsoft/playwright/blob/master/docs/api.md##pagewaitforeventevent-optionsorpredicate)<br/>-<br/>\ No newline at end of file+<br/>