chore: update WebKit version to 14.1 (#4515)

Safari Technology Preview now reports WebKit 14.1
This commit is contained in:
Andrey Lushnikov 2020-11-23 16:21:42 -08:00 committed by GitHub
parent 17bec4f6f8
commit f916c98081
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@ Playwright is a Node.js library to automate [Chromium](https://www.chromium.org/
| | Linux | macOS | Windows |
| :--- | :---: | :---: | :---: |
| Chromium <!-- GEN:chromium-version -->89.0.4330.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| WebKit 14.0 | :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 -->83.0b8<!-- 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.

View File

@ -27,8 +27,8 @@ 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_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15';
const BROWSER_VERSION = '14.0';
const DEFAULT_USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1 Safari/605.1.15';
const BROWSER_VERSION = '14.1';
export class WKBrowser extends Browser {
private readonly _connection: WKConnection;

View File

@ -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 14.0');
console.log('- WebKit 14.1');