diff --git a/README.md b/README.md index 3ff837a354..651ee53dc5 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-86.0.4211.0-blue.svg?logo=google-chrome)](https://www.chromium.org/Home) [![Firefox version](https://img.shields.io/badge/firefox-78.0b5-blue.svg?logo=mozilla-firefox)](https://www.mozilla.org/en-US/firefox/new/) [![WebKit version](https://img.shields.io/badge/webkit-14.0-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-86.0.4217.0-blue.svg?logo=google-chrome)](https://www.chromium.org/Home) [![Firefox version](https://img.shields.io/badge/firefox-78.0b5-blue.svg?logo=mozilla-firefox)](https://www.mozilla.org/en-US/firefox/new/) [![WebKit version](https://img.shields.io/badge/webkit-14.0-blue.svg?logo=safari)](https://webkit.org/) ##### [Docs](docs/README.md) | [API reference](docs/api.md) | [Changelog](https://github.com/microsoft/playwright/releases) @@ -8,7 +8,7 @@ Playwright is a Node.js library to automate [Chromium](https://www.chromium.org/ | | Linux | macOS | Windows | | :--- | :---: | :---: | :---: | -| Chromium 86.0.4211.0 | :white_check_mark: | :white_check_mark: | :white_check_mark: | +| Chromium 86.0.4217.0 | :white_check_mark: | :white_check_mark: | :white_check_mark: | | WebKit 14.0 | :white_check_mark: | :white_check_mark: | :white_check_mark: | | Firefox 78.0b5 | :white_check_mark: | :white_check_mark: | :white_check_mark: | diff --git a/browsers.json b/browsers.json index 8cd9094656..03a55571d3 100644 --- a/browsers.json +++ b/browsers.json @@ -3,7 +3,7 @@ "browsers": [ { "name": "chromium", - "revision": "791201", + "revision": "792639", "download": true }, { diff --git a/src/chromium/protocol.ts b/src/chromium/protocol.ts index f3ef64e516..8565cf7516 100644 --- a/src/chromium/protocol.ts +++ b/src/chromium/protocol.ts @@ -7816,7 +7816,9 @@ detailed cookie information in the `cookies` field. */ export type getCookiesParameters = { /** - * The list of URLs for which applicable cookies will be fetched + * The list of URLs for which applicable cookies will be fetched. +If not specified, it's assumed to be set to the list containing +the URLs of the page and all of its subframes. */ urls?: string[]; } @@ -12758,6 +12760,10 @@ variables as its properties. * The language of the script. */ scriptLanguage?: Debugger.ScriptLanguage; + /** + * The name the embedder supplied for this script. + */ + embedderName?: string; } /** * Fired when virtual machine parses script. This event is also fired for all known and uncollected @@ -12836,6 +12842,10 @@ scripts upon enabling debugger. * If the scriptLanguage is WebASsembly, the source of debug symbols for the module. */ debugSymbols?: Debugger.DebugSymbols; + /** + * The name the embedder supplied for this script. + */ + embedderName?: string; } /** diff --git a/test/emulation.jest.js b/test/emulation.jest.js index 8cac2398f2..e8433618b6 100644 --- a/test/emulation.jest.js +++ b/test/emulation.jest.js @@ -27,8 +27,7 @@ describe('BrowserContext({viewport})', function() { await page.setViewportSize({width: 123, height: 456}); await utils.verifyViewport(page, 123, 456); }); - // TODO: enable in Chromium after http://crrev.com/c/2321409 is landed and rolled. - it.fail(CHROMIUM && HEADLESS && MAC)('should return correct outerWidth and outerHeight', async({page}) => { + it('should return correct outerWidth and outerHeight', async({page}) => { const size = await page.evaluate(() => { return { innerWidth: window.innerWidth,