From dbe4362b9c7b902e6cebcd8f5f5cba44c308f55d Mon Sep 17 00:00:00 2001 From: Playwright Service <89237858+playwrightmachine@users.noreply.github.com> Date: Wed, 30 Nov 2022 19:13:11 -0800 Subject: [PATCH] feat(firefox): roll to r1366 (#19185) Fixes https://github.com/microsoft/playwright/issues/18307. Signed-off-by: Max Schmitt Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Max Schmitt --- README.md | 4 ++-- packages/playwright-core/browsers.json | 4 ++-- .../playwright-core/src/server/deviceDescriptorsSource.json | 4 ++-- tests/page/page-basic.spec.ts | 3 +-- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e72a48471c..866cb9597f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # 🎭 Playwright -[![npm version](https://img.shields.io/npm/v/playwright.svg?style=flat)](https://www.npmjs.com/package/playwright) [![Chromium version](https://img.shields.io/badge/chromium-108.0.5359.48-blue.svg?logo=google-chrome)](https://www.chromium.org/Home) [![Firefox version](https://img.shields.io/badge/firefox-106.0-blue.svg?logo=mozilla-firefox)](https://www.mozilla.org/en-US/firefox/new/) [![WebKit version](https://img.shields.io/badge/webkit-16.4-blue.svg?logo=safari)](https://webkit.org/) +[![npm version](https://img.shields.io/npm/v/playwright.svg?style=flat)](https://www.npmjs.com/package/playwright) [![Chromium version](https://img.shields.io/badge/chromium-108.0.5359.48-blue.svg?logo=google-chrome)](https://www.chromium.org/Home) [![Firefox version](https://img.shields.io/badge/firefox-107.0-blue.svg?logo=mozilla-firefox)](https://www.mozilla.org/en-US/firefox/new/) [![WebKit version](https://img.shields.io/badge/webkit-16.4-blue.svg?logo=safari)](https://webkit.org/) ## [Documentation](https://playwright.dev) | [API reference](https://playwright.dev/docs/api/class-playwright) @@ -10,7 +10,7 @@ Playwright is a framework for Web Testing and Automation. It allows testing [Chr | :--- | :---: | :---: | :---: | | Chromium 108.0.5359.48 | :white_check_mark: | :white_check_mark: | :white_check_mark: | | WebKit 16.4 | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| Firefox 106.0 | :white_check_mark: | :white_check_mark: | :white_check_mark: | +| Firefox 107.0 | :white_check_mark: | :white_check_mark: | :white_check_mark: | Headless execution is supported for all browsers on all platforms. Check out [system requirements](https://playwright.dev/docs/library#system-requirements) for details. diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.json index 29fb9ab705..6ad98856af 100644 --- a/packages/playwright-core/browsers.json +++ b/packages/playwright-core/browsers.json @@ -21,9 +21,9 @@ }, { "name": "firefox", - "revision": "1364", + "revision": "1366", "installByDefault": true, - "browserVersion": "106.0" + "browserVersion": "107.0" }, { "name": "firefox-beta", diff --git a/packages/playwright-core/src/server/deviceDescriptorsSource.json b/packages/playwright-core/src/server/deviceDescriptorsSource.json index c06132db8b..40e5a07df9 100644 --- a/packages/playwright-core/src/server/deviceDescriptorsSource.json +++ b/packages/playwright-core/src/server/deviceDescriptorsSource.json @@ -1300,7 +1300,7 @@ "defaultBrowserType": "chromium" }, "Desktop Firefox HiDPI": { - "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0", + "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0", "screen": { "width": 1792, "height": 1120 @@ -1360,7 +1360,7 @@ "defaultBrowserType": "chromium" }, "Desktop Firefox": { - "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0", + "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0", "screen": { "width": 1920, "height": 1080 diff --git a/tests/page/page-basic.spec.ts b/tests/page/page-basic.spec.ts index 7d0c93c185..b824504c1f 100644 --- a/tests/page/page-basic.spec.ts +++ b/tests/page/page-basic.spec.ts @@ -253,7 +253,6 @@ it('frame.press should work', async ({ page, server }) => { expect(await frame.evaluate(() => document.querySelector('textarea').value)).toBe('a'); }); -it('has navigator.webdriver set to true', async ({ page, browserName }) => { - it.fixme(browserName === 'firefox'); +it('has navigator.webdriver set to true', async ({ page }) => { expect(await page.evaluate(() => navigator.webdriver)).toBe(true); });