From e035bf3b33fef932e156e99394ca705a4aaa2405 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Thu, 14 May 2020 16:47:18 -0700 Subject: [PATCH] fix: update webkit version (#2250) Fix #2245 --- README.md | 4 ++-- src/webkit/wkBrowser.ts | 2 +- utils/print_versions.js | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 792ba0c4a2..c17ec8fa59 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) [![Join Slack](https://img.shields.io/badge/join-slack-infomational)](https://join.slack.com/t/playwright/shared_invite/enQtOTEyMTUxMzgxMjIwLThjMDUxZmIyNTRiMTJjNjIyMzdmZDA3MTQxZWUwZTFjZjQwNGYxZGM5MzRmNzZlMWI5ZWUyOTkzMjE5Njg1NDg) [![Chromium version](https://img.shields.io/badge/chromium-84.0.4144.0-blue.svg?logo=google-chrome)](https://www.chromium.org/Home) [![Firefox version](https://img.shields.io/badge/firefox-77.0b3-blue.svg?logo=mozilla-firefox)](https://www.mozilla.org/en-US/firefox/new/) [![WebKit version](https://img.shields.io/badge/webkit-13.0.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) [![Join Slack](https://img.shields.io/badge/join-slack-infomational)](https://join.slack.com/t/playwright/shared_invite/enQtOTEyMTUxMzgxMjIwLThjMDUxZmIyNTRiMTJjNjIyMzdmZDA3MTQxZWUwZTFjZjQwNGYxZGM5MzRmNzZlMWI5ZWUyOTkzMjE5Njg1NDg) [![Chromium version](https://img.shields.io/badge/chromium-84.0.4144.0-blue.svg?logo=google-chrome)](https://www.chromium.org/Home) [![Firefox version](https://img.shields.io/badge/firefox-77.0b3-blue.svg?logo=mozilla-firefox)](https://www.mozilla.org/en-US/firefox/new/) [![WebKit version](https://img.shields.io/badge/webkit-13.2.blue.svg?logo=safari)](https://webkit.org/) ##### [Docs](docs/README.md) | [API reference](docs/api.md) | [Changelog](https://github.com/microsoft/playwright/releases) @@ -9,7 +9,7 @@ Playwright is a Node library to automate [Chromium](https://www.chromium.org/Hom | | Linux | macOS | Windows | | :--- | :---: | :---: | :---: | | Chromium 84.0.4144.0 | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| WebKit 13.0.4 | :white_check_mark: | :white_check_mark: | :white_check_mark: | +| WebKit 13.2 | :white_check_mark: | :white_check_mark: | :white_check_mark: | | Firefox 77.0b3 | :white_check_mark: | :white_check_mark: | :white_check_mark: | Headless execution is supported for all the browsers on all platforms. diff --git a/src/webkit/wkBrowser.ts b/src/webkit/wkBrowser.ts index 9214306fde..87f977cc2f 100644 --- a/src/webkit/wkBrowser.ts +++ b/src/webkit/wkBrowser.ts @@ -27,7 +27,7 @@ import { Protocol } from './protocol'; import { kPageProxyMessageReceived, PageProxyMessageReceivedPayload, WKConnection, WKSession } from './wkConnection'; import { WKPage } from './wkPage'; -const DEFAULT_USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.4 Safari/605.1.15'; +const DEFAULT_USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.2 Safari/605.1.15'; export class WKBrowser extends BrowserBase { private readonly _connection: WKConnection; diff --git a/utils/print_versions.js b/utils/print_versions.js index 588283b20f..543a42ae79 100755 --- a/utils/print_versions.js +++ b/utils/print_versions.js @@ -15,7 +15,7 @@ * limitations under the License. */ -const pw = require('..'); +const pw = require('../index-for-dev.js'); const child_process = require('child_process'); for (const browserType of [pw.chromium, pw.firefox]) { @@ -23,4 +23,4 @@ for (const browserType of [pw.chromium, pw.firefox]) { const version = child_process.execSync(executablePath + ' --version').toString().trim(); console.log('- ' + version); } -console.log('- WebKit 13.0.4'); +console.log('- WebKit 13.2');