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
feat(firefox): bump to 1217 (#4560)
Dmitry Gozman3846d05f022c
diff --git a/README.md b/README.mdindex 6aa1593d60..228bdbb44a 100644--- a/README.md+++ b/README.md@@ -1,6 +1,6 @@# 🎭 Playwright-[](https://www.npmjs.com/package/playwright) [](https://join.slack.com/t/playwright/shared_invite/enQtOTEyMTUxMzgxMjIwLThjMDUxZmIyNTRiMTJjNjIyMzdmZDA3MTQxZWUwZTFjZjQwNGYxZGM5MzRmNzZlMWI5ZWUyOTkzMjE5Njg1NDg) <!-- GEN:chromium-version-badge -->[](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> [](https://webkit.org/)+[](https://www.npmjs.com/package/playwright) [](https://join.slack.com/t/playwright/shared_invite/enQtOTEyMTUxMzgxMjIwLThjMDUxZmIyNTRiMTJjNjIyMzdmZDA3MTQxZWUwZTFjZjQwNGYxZGM5MzRmNzZlMWI5ZWUyOTkzMjE5Njg1NDg) <!-- GEN:chromium-version-badge -->[](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> [](https://webkit.org/)## [Documentation](https://playwright.dev) | [API reference](https://playwright.dev/#?path=docs/api.md)@@ -10,7 +10,7 @@ Playwright is a Node.js library to automate [Chromium](https://www.chromium.org/| :--- | :---: | :---: | :---: || Chromium <!-- GEN:chromium-version -->89.0.4330.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: || WebKit 14.1 | :white_check_mark: | :white_check_mark: | :white_check_mark: |-| Firefox <!-- GEN:firefox-version -->84.0b5<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |+| Firefox <!-- GEN:firefox-version -->84.0b7<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |Headless execution is supported for all the browsers on all platforms. Check out [system requirements](https://playwright.dev/#?path=docs/intro.md&q=system-requirements) for details.diff --git a/browsers.json b/browsers.jsonindex 55f8a02460..7e6eb12a72 100644--- a/browsers.json+++ b/browsers.json@@ -8,7 +8,7 @@},{"name": "firefox",- "revision": "1215",+ "revision": "1217","download": true},{diff --git a/test/dialog.spec.ts b/test/dialog.spec.tsindex 3a8de60d0f..885017cd9c 100644--- a/test/dialog.spec.ts+++ b/test/dialog.spec.ts@@ -74,3 +74,33 @@ it('should be able to close context with open alert', (test, { browserName, platawait alertPromise;await context.close();});++it('should handle multiple alerts', async ({page}) => {+ page.on('dialog', dialog => {+ dialog.accept().catch(e => {});+ });+ await page.setContent(`+ <p>Hello World</p>+ <script>+ alert('Please dismiss this dialog');+ alert('Please dismiss this dialog');+ alert('Please dismiss this dialog');+ </script>+ `);+ expect(await page.textContent('p')).toBe('Hello World');+});++it('should handle multiple confirms', async ({page}) => {+ page.on('dialog', dialog => {+ dialog.accept().catch(e => {});+ });+ await page.setContent(`+ <p>Hello World</p>+ <script>+ confirm('Please confirm me?');+ confirm('Please confirm me?');+ confirm('Please confirm me?');+ </script>+ `);+ expect(await page.textContent('p')).toBe('Hello World');+});