playwright-chromium
1.65.1 · 13 Nov 2026Apache-2.0348.4k / weekRepositoryHomepagenpmAtom feed
175 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
1.22.1
17 May 2022Chromium 102.0.5005.40
Mozilla Firefox 99.0.1
WebKit 15.4
Highlights
This patch includes the following bug fixes:
#14186 - [BUG] expect.toHaveScreenshot() generates an argument error
Browser Versions
Chromium 102.0.5005.40
Mozilla Firefox 99.0.1
WebKit 15.4
This version was also tested against the following stable channels:
Google Chrome 101
Microsoft Edge 101
1.22.0
12 May 2022Role selectors allow selecting elements by their ARIA role, ARIA attributes and accessible name.
// Click a button with accessible name "log in" await page.click('role=button[name="log in"]')Read more in our documentation.
New
locator.filter([options])API to filter an existing locatorconst buttons = page.locator('role=button'); // ... const submitButton = buttons.filter({ hasText: 'Submit' }); await submitButton.click();Disables animations
Introducing Component Testing (preview)
Playwright Test can now test your React, Vue.js or Svelte components. You can use all the features of Playwright Test (such as parallelization, emulation & debugging) while running components in real browsers.
component testing
Component Tests (Preview)Here is what a typical component test looks like:
// App.spec.tsx import { test, expect } from '@playwright/experimental-ct-react'; import App from './App'; // Let's test component in a dark scheme! test.use({ colorScheme: 'dark' }); test('should render', async ({ mount }) => { const component = await mount(<App></App>); // As with any Playwright test, assert locator text. await expect(component).toContainText('React'); // Or do a screenshot 🚀 await expect(component).toHaveScreenshot(); // Or use any Playwright method await component.click(); });Read more in our documentation.
release update
Playwright v1.22 updatesLocators Update
Role selectors allow selecting elements by their ARIA role, ARIA attributes and accessible name.
// Click a button with accessible name "log in" await page.click('role=button[name="log in"]')Read more in our documentation.
New
locator.filter([options])API to filter an existing locatorconst buttons = page.locator('role=button'); // ... const submitButton = buttons.filter({ hasText: 'Submit' }); await submitButton.click();
Screenshots Update
New web-first assertions
expect(page).toHaveScreenshot()andexpect(locator).toHaveScreenshot()that wait for screenshot stabilization and enhances test reliability.The new assertions has screenshot-specific defaults, such as:
Disables animations
Uses CSS scale option
await page.goto('https://playwright.dev'); await expect(page).toHaveScreenshot();The new
expect(page).toHaveScreenshot()saves screenshots at the same location asexpect(screenshot).toMatchSnapshot().Browser Versions
Chromium 102.0.5005.40
Mozilla Firefox 99.0.1
WebKit 15.4
This version was also tested against the following stable channels:
Google Chrome 101
Microsoft Edge 101
1.21.1
18 Apr 2022Chromium 101.0.4951.26
Mozilla Firefox 98.0.2
WebKit 15.4
Highlights
This patch includes the following bug fixes:
#13597 - [BUG] fullyParallel created too many workers, slowing down test run
#13530 - [REGRESSION]: Pull request #12877 prevents the library from being used on any linux distro that is not UbuntuBrowser Versions
Chromium 101.0.4951.26
Mozilla Firefox 98.0.2
WebKit 15.4
This version was also tested against the following stable channels:
Google Chrome 100
Microsoft Edge 100
1.21.0
12 Apr 2022New experimental role selectors that allow selecting elements by their ARIA role, ARIA attributes and accessible name.
// Click a button with accessible name "log in" await page.click('role=button[name="log in"]')To use role selectors, make sure to pass
PLAYWRIGHT_EXPERIMENTAL_FEATURES=1environment variable:// playwright.config.js process.env.PLAYWRIGHT_EXPERIMENTAL_FEATURES = '1'; module.exports = { /* ... */ };Read more in our documentation.
New
scaleoption inPage.screenshotfor smaller sized screenshots.New
caretoption inPage.screenshotto control text caret. Defaults to"hide".
release 1.21
Playwright v1.21 updatesHighlights
New experimental role selectors that allow selecting elements by their ARIA role, ARIA attributes and accessible name.
// Click a button with accessible name "log in" await page.click('role=button[name="log in"]')To use role selectors, make sure to pass
PLAYWRIGHT_EXPERIMENTAL_FEATURES=1environment variable:// playwright.config.js process.env.PLAYWRIGHT_EXPERIMENTAL_FEATURES = '1'; module.exports = { /* ... */ };Read more in our documentation.
New
scaleoption inPage.screenshotfor smaller sized screenshots.New
caretoption inPage.screenshotto control text caret. Defaults to"hide".New method
expect.pollto wait for an arbitrary condition:// Poll the method until it returns an expected result. await expect.poll(async () => { const response = await page.request.get('https://api.example.com'); return response.status(); }).toBe(200);expect.pollsupports most synchronous matchers, like.toBe(),.toContain(), etc.
Read more in our documentation.
Behavior Changes
ESM support when running TypeScript tests is now enabled by default. The
PLAYWRIGHT_EXPERIMENTAL_TS_ESMenv variable is
no longer required.The
mcr.microsoft.com/playwrightdocker image no longer contains Python. Please usemcr.microsoft.com/playwright/python
as a Playwright-ready docker image with pre-installed Python.Playwright now supports large file uploads (100s of MBs) via
Locator.setInputFilesAPI.
Browser Versions
Chromium 101.0.4951.26
Mozilla Firefox 98.0.2
WebKit 15.4
This version was also tested against the following stable channels:
Google Chrome 100
Microsoft Edge 100
1.20.2
1 Apr 2022Chromium 101.0.4921.0
Mozilla Firefox 97.0.1
WebKit 15.4
Highlights
This patch includes the following bug fixes:
#13078 - [BUG] Extension required when importing other files with type="module"
#13099 - [BUG] beforeAll is called before each test (fullyParallel)
#13204 - [BUG] mask stalls the screenshotBrowser Versions
Chromium 101.0.4921.0
Mozilla Firefox 97.0.1
WebKit 15.4
This version was also tested against the following stable channels:
Google Chrome 99
Microsoft Edge 99
1.20.1
23 Mar 2022Chromium 101.0.4921.0
Mozilla Firefox 97.0.1
WebKit 15.4
Highlights
This patch includes the following bug fixes:
#12711 - [REGRESSION] Page.screenshot hangs on some sites
#12807 - [BUG] Cookies get assigned before fulfilling a response
#12814 - [Question] how to use expect.any in playwright
#12821 - [BUG] Chromium: Cannot click, element intercepts pointer events
#12836 - [REGRESSION]: Tests not detected as ES module in v1.20
#12862 - [Feature] Allow to use toMatchSnapshot for file formats other than txt (e.g. csv)
#12887 - [BUG] Locator.count() with _vue selector with Repro
#12940 - [BUG] npm audit - High Severity vulnerability in json5 package forcing to install Playwright 1.18.1
#12974 - [BUG] Regression - chromium browser closes during test or debugging session on macosBrowser Versions
Chromium 101.0.4921.0
Mozilla Firefox 97.0.1
WebKit 15.4
This version was also tested against the following stable channels:
Google Chrome 99
Microsoft Edge 99
1.20.0
14 Mar 2022New options for methods
page.screenshot(),locator.screenshot()andelementHandle.screenshot():expect().toMatchSnapshot()now supports anonymous snapshots: when snapshot name is missing, Playwright Test will generate one
automatically:expect('Web is Awesome <3').toMatchSnapshot();New
maxDiffPixelsandmaxDiffPixelRatiooptions for fine-grained screenshot comparison usingexpect().toMatchSnapshot():expect(await page.screenshot()).toMatchSnapshot({ maxDiffPixels: 27, // allow no more than 27 different pixels. });It is most convenient to specify
maxDiffPixelsormaxDiffPixelRatioonce inTestConfig.expect.
release-1.20
Playwright v1.20 updatesHighlights
New options for methods
page.screenshot(),locator.screenshot()andelementHandle.screenshot():Option
animations: "disabled"rewinds all CSS animations and transitions to a consistent state.Option
mask: Locatormasks given elements, overlaying them with pink#FF00FFboxes.
expect().toMatchSnapshot()now supports anonymous snapshots: when snapshot name is missing, Playwright Test will generate one
automatically:expect('Web is Awesome <3').toMatchSnapshot();New
maxDiffPixelsandmaxDiffPixelRatiooptions for fine-grained screenshot comparison usingexpect().toMatchSnapshot():expect(await page.screenshot()).toMatchSnapshot({ maxDiffPixels: 27, // allow no more than 27 different pixels. });It is most convenient to specify
maxDiffPixelsormaxDiffPixelRatioonce inTestConfig.expect.Playwright Test now adds
TestConfig.fullyParallelmode. By default, Playwright Test parallelizes between files. In fully parallel mode, tests inside a single file are also run in parallel. You can also use--fully-parallelcommand line flag.// playwright.config.ts export default { fullyParallel: true, };TestProject.grepandTestProject.grepInvertare now configurable per project. For example, you can now
configure smoke tests project usinggrep:// playwright.config.ts export default { projects: [ { name: 'smoke tests', grep: /@smoke/, }, ], };Trace Viewer now shows API testing requests.
locator.highlight()visually reveals element(s) for easier debugging.
Announcements
We now ship a designated Python docker image
mcr.microsoft.com/playwright/python. Please switch over to it if you use Python. This is the last release that includes Python inside our javascriptmcr.microsoft.com/playwrightdocker image.v1.20 is the last release to receive WebKit update for macOS 10.15 Catalina. Please update MacOS to keep using latest & greatest WebKit!
Browser Versions
Chromium 101.0.4921.0
Mozilla Firefox 97.0.1
WebKit 15.4
This version was also tested against the following stable channels:
Google Chrome 99
Microsoft Edge 99
1.19.2
24 Feb 2022Chromium 100.0.4863.0
Mozilla Firefox 96.0.1
WebKit 15.4
Highlights
This patch includes the following bug fixes:
#12091 - [BUG] playwright 1.19.0 generates more than 1 trace file per test
#12106 - [BUG] Error: EBUSY: resource busy or locked when using volumes in docker-compose with playwright 1.19.0 and mcr.microsoft.com/playwright:v1.15.0-focalBrowser Versions
Chromium 100.0.4863.0
Mozilla Firefox 96.0.1
WebKit 15.4
This version was also tested against the following stable channels:
Google Chrome 98
Microsoft Edge 98
1.19.1
16 Feb 2022Chromium 100.0.4863.0
Mozilla Firefox 96.0.1
WebKit 15.4
Highlights
This patch includes the following bug fixes:
#12075 - [Question] After update to 1.19 firefox fails to run
#12090 - [BUG] did something change on APIRequest/Response APIs ?Browser Versions
Chromium 100.0.4863.0
Mozilla Firefox 96.0.1
WebKit 15.4
This version was also tested against the following stable channels:
Google Chrome 98
Microsoft Edge 98
1.19.0
11 Feb 2022method: Page.screenshotandmethod: Locator.screenshotnow automatically hides blinking caretPlaywright Codegen now generates locators and frame locators
release-1.19
Playwright v1.19 updatesPlaywright Test Updates
Soft assertions
Playwright Test v1.19 now supports soft assertions. Failed soft assertions do not terminate test execution, but mark the test as failed. Read more in our documentation.
// Make a few checks that will not stop the test when failed... await expect.soft(page.locator('#status')).toHaveText('Success'); await expect.soft(page.locator('#eta')).toHaveText('1 day'); // ... and continue the test to check more things. await page.locator('#next-page').click(); await expect.soft(page.locator('#title')).toHaveText('Make another order');Custom error messages
You can now specify a custom error message as a second argument to the
expectandexpect.softfunctions, for example:await expect(page.locator('text=Name'), 'should be logged in').toBeVisible();The error would look like this:
Error: should be logged in Call log: - expect.toBeVisible with timeout 5000ms - waiting for selector "text=Name" 2 | 3 | test('example test', async({ page }) => { > 4 | await expect(page.locator('text=Name'), 'should be logged in').toBeVisible(); | ^ 5 | }); 6 |Parallel mode in file
By default, tests in a single file are run in order. If you have many independent tests in a single file, you can now
run them in parallel withmethod: test.describe.configure:import { test } from '@playwright/test'; test.describe.configure({ mode: 'parallel' }); test('parallel 1', async () => {}); test('parallel 2', async () => {});⚠️ Potentially breaking change in Playwright Test Global Setup
It is unlikely that this change will affect you, no action is required if your tests keep running as they did.
We've noticed that in rare cases, the set of tests to be executed was configured in the global setup by means of the environment variables. We also noticed some applications that were post processing the reporters' output in the global teardown. If you are doing one of the two, learn more
Locator Updates
Locator now supports a
hasoption that makes sure it contains another locator insideawait page.locator('article', { has: page.locator('.highlight'), }).locator('button').click();The snippet above will select article that has highlight in it and will press the button in it.
Read more in locator documentationOther Updates
method: Page.screenshotandmethod: Locator.screenshotnow automatically hides blinking caretPlaywright Codegen now generates locators and frame locators
New option
urlintestConfig.webServerto ensure your web server is ready before running the testsNew
property: TestInfo.errorsandproperty: TestResult.errorsthat contain all failed assertions and soft assertions.
Browser Versions
Chromium 100.0.4863.0
Mozilla Firefox 96.0.1
WebKit 15.4
This version was also tested against the following stable channels:
Google Chrome 98
Microsoft Edge 98
1.18.1
27 Jan 2022Chromium 99.0.4812.0
Mozilla Firefox 95.0
WebKit 15.4
Highlights
This patch includes improvements to the TypeScript support and the following bug fixes:
#11550 - [REGRESSION]: Errors inside route handler does not lead to unhandled rejections anymore
#11552 - [BUG] Could not resolve "C:\repo\framework\utils" in file C:\repo\tests\test.ts.Browser Versions
Chromium 99.0.4812.0
Mozilla Firefox 95.0
WebKit 15.4
This version was also tested against the following stable channels:
Google Chrome 97
Microsoft Edge 97
1.18.0
20 Jan 2022[
locator.dragTo(locator)][
expect(locator).toBeChecked({ checked })]Each locator can now be optionally filtered by the text it contains:
await page.locator('li', { hasText: 'my item' }).locator('button').click();Read more in locator documentation.
release-1.18
Playwright v1.18 updatesLocator Improvements
[
locator.dragTo(locator)][
expect(locator).toBeChecked({ checked })]Each locator can now be optionally filtered by the text it contains:
await page.locator('li', { hasText: 'my item' }).locator('button').click();Read more in locator documentation.
Testing API improvements
[
expect(response).toBeOK()][
testInfo.attach()]
Improved TypeScript Support
Playwright Test now respects
tsconfig.json'sbaseUrlandpaths, so you can use aliasesThere is a new environment variable
PW_EXPERIMENTAL_TS_ESMthat allows importing ESM modules in your TS code, without the need for the compile step. Don't forget the.jssuffix when you are importing your esm modules. Run your tests as follows:
npm i --save-dev @playwright/test@1.18.0 PW_EXPERIMENTAL_TS_ESM=1 npx playwright test
Create Playwright
The
npm init playwrightcommand is now generally available for your use:# Run from your project's root directory npm init playwright # Or create a new project npm init playwright new-project
This will scaffold everything needed to get started with Playwright Test: configuration file, optionally add examples, a GitHub Action workflow and a first test
example.spec.ts.New APIs & changes
New [
testCase.repeatEachIndex] APIacceptDownloadsoption now defaults totrue
Breaking change: custom config options
Custom config options are a convenient way to parametrize projects with different values. Learn more in the parametrization guide.
Previously, any fixture introduced through
test.extendcould be overridden in thetestProject.useconfig section. For example,// WRONG: THIS SNIPPET DOES NOT WORK SINCE v1.18. // fixtures.js const test = base.extend({ myParameter: 'default', }); // playwright.config.js module.exports = { use: { myParameter: 'value', }, };The proper way to make a fixture parametrized in the config file is to specify
option: truewhen defining the fixture. For example,// CORRECT: THIS SNIPPET WORKS SINCE v1.18. // fixtures.js const test = base.extend({ // Fixtures marked as "option: true" will get a value specified in the config, // or fallback to the default value. myParameter: ['default', { option: true }], }); // playwright.config.js module.exports = { use: { myParameter: 'value', }, };Browser Versions
Chromium 99.0.4812.0
Mozilla Firefox 95.0
WebKit 15.4
This version was also tested against the following stable channels:
Google Chrome 97
Microsoft Edge 97
(
1.18.0-beta-1642620709000)1.17.1
2 Dec 2021Chromium 98.0.4695.0
Mozilla Firefox 94.0.1
WebKit 15.4
Highlights
This patch includes bug fixes for the following issues:
#10638 - [BUG] Locator.click -> subtree intercepts pointer events since version 1.17.0
#10632 - [BUG] Playwright 1.17.0 -> After clicking the element - I get an error that click action was failed
#10627 - [REGRESSION]: Can no longer click Material UI select box
#10620 - [BUG] trailing zero width whitespace fails toHaveTextBrowser Versions
Chromium 98.0.4695.0
Mozilla Firefox 94.0.1
WebKit 15.4
This version of Playwright was also tested against the following stable channels:
Google Chrome 96
Microsoft Edge 96
(1.17.1)
1.17.0
30 Nov 2021Playwright Test traces now include sources by default (these could be turned off with tracing option)
Trace Viewer now shows test name
New trace metadata tab with browser details
release-1.17
Playwright v1.17 updatesFrame Locators
Playwright 1.17 introduces frame locators - a locator to the iframe on the page. Frame locators capture the logic sufficient to retrieve the
iframeand then locate elements in that iframe. Frame locators are strict by default, will wait foriframeto appear and can be used in Web-First assertions.Graphics
Frame locators can be created with either
page.frameLocator(selector)orlocator.frameLocator(selector)method.const locator = page.frameLocator('#my-iframe').locator('text=Submit'); await locator.click();Read more at our documentation.
Trace Viewer Update
Playwright Trace Viewer is now available online at trace.playwright.dev! Just drag-and-drop your
trace.zipfile to inspect its contents.NOTE: trace files are not uploaded anywhere; trace.playwright.dev is a progressive web application that processes traces locally.
Playwright Test traces now include sources by default (these could be turned off with tracing option)
Trace Viewer now shows test name
New trace metadata tab with browser details
Snapshots now have URL bar
image
HTML Report Update
HTML report now supports dynamic filtering
Report is now a single static HTML file that could be sent by e-mail or as a slack attachment.
image
Ubuntu ARM64 support + more
Playwright now supports Ubuntu 20.04 ARM64. You can now run Playwright tests inside Docker on Apple M1 and on Raspberry Pi.
You can now use Playwright to install stable version of Edge on Linux:
npx playwright install msedge
New APIs
Tracing now supports a
'title'optionPage navigations support a new
'commit'waiting optionHTML reporter got new configuration options
testOptions.tracehas new optionsexpect.toMatchSnapshotsupports subdirectories
Browser Versions
Chromium 98.0.4695.0
Mozilla Firefox 94.0.1
WebKit 15.4
This version was also tested against the following stable channels:
Google Chrome 96
Microsoft Edge 96
1.16.3
2 Nov 2021Chromium 97.0.4666.0
Mozilla Firefox 93.0
WebKit 15.4
Highlights
This patch includes bug fixes for the following issues:
#9849 - [BUG]: toHaveCount fails with serialization error in 1.16 when elements do not yet exists
#9897 - [Bug]: TraceViewer doesn't show actions
#9902 - [BUG] Warn if the html-report gets opened with file://Browser Versions
Chromium 97.0.4666.0
Mozilla Firefox 93.0
WebKit 15.4
This version of Playwright was also tested against the following stable channels:
Google Chrome 94
Microsoft Edge 94
(1.16.3-1635814179000)
1.16.2
27 Oct 2021Chromium 97.0.4666.0
Mozilla Firefox 93.0
WebKit 15.4
Highlights
This patch includes bug fixes for the following issues:
#7818 - [Bug]: dedup snapshot CSS images
#9741 - [BUG] Error while an attempt to install Playwright in CI -> Failed at the playwright@1.16.1 install script
#9756 - [Regression] Page.screenshot does not work inside Docker with BrowserServer
#9759 - [BUG] 1.16.x the package.json is not export anymore
#9760 - [BUG] snapshot updating causes failures for all tries except the last
#9768 - [BUG] ignoreHTTPSErrors not working on page.requestBrowser Versions
Chromium 97.0.4666.0
Mozilla Firefox 93.0
WebKit 15.4
This version of Playwright was also tested against the following stable channels:
Google Chrome 94
Microsoft Edge 94
(1.16.2-1635322350000)
1.16.1
22 Oct 2021Chromium 97.0.4666.0
Mozilla Firefox 93.0
WebKit 15.4
Highlights
This patch includes bug fixes for the following issues:
#9688 - [REGRESSION]: toHaveCount does not work anymore with 0 elements
#9692 - [BUG] HTML report shows locator._withElement for locator.evaluateBrowser Versions
Chromium 97.0.4666.0
Mozilla Firefox 93.0
WebKit 15.4
This version of Playwright was also tested against the following stable channels:
Google Chrome 94
Microsoft Edge 94
(1.16.0-1634781227000)
1.16.0
21 Oct 2021Test your server API
Prepare server side state before visiting the web application in a test
Validate server side post-conditions after running some actions in the browser
release-1.16
Playwright v1.16 updatesPlaywright Test
API Testing
Playwright 1.16 introduces new API Testing that lets you send requests to the server directly from Node.js!
Now you can:Test your server API
Prepare server side state before visiting the web application in a test
Validate server side post-conditions after running some actions in the browser
To do a request on behalf of Playwright's Page, use new
page.requestAPI:import { test, expect } from '@playwright/test'; test('context fetch', async ({ page }) => { // Do a GET request on behalf of page const response = await page.request.get('http://example.com/foo.json'); // ... });To do a stand-alone request from node.js to an API endpoint, use new
requestfixture:import { test, expect } from '@playwright/test'; test('context fetch', async ({ request }) => { // Do a GET request on behalf of page const response = await request.get('http://example.com/foo.json'); // ... });Read more about it in our API testing guide.
Response Interception
It is now possible to do response interception by combining API Testing with request interception.
For example, we can blur all the images on the page:
import { test, expect } from '@playwright/test'; import jimp from 'jimp'; // image processing library test('response interception', async ({ page }) => { await page.route('**/*.jpeg', async route => { const response = await page._request.fetch(route.request()); const image = await jimp.read(await response.body()); await image.blur(5); route.fulfill({ response, body: await image.getBufferAsync('image/jpeg'), }); }); const response = await page.goto('https://playwright.dev'); expect(response.status()).toBe(200); });Read more about response interception.
New HTML reporter
Try it out new HTML reporter with either
--reporter=htmlor areporterentry
inplaywright.config.tsfile:$ npx playwright test --reporter=html
The HTML reporter has all the information about tests and their failures, including surfacing
trace and image artifacts.html reporter
Read more about our reporters.
Playwright Library
locator.waitFor
Wait for a locator to resolve to a single element with a given state.
Defaults to thestate: 'visible'.Comes especially handy when working with lists:
import { test, expect } from '@playwright/test'; test('context fetch', async ({ page }) => { const completeness = page.locator('text=Success'); await completeness.waitFor(); expect(await page.screenshot()).toMatchSnapshot('screen.png'); });Read more about
locator.waitFor().Playwright Trace Viewer
web-first assertions inside trace viewer
Run trace viewer with
npx playwright show-traceand drop trace files to the trace viewer PWAAPI testing is integrated with trace viewer
Better visual attribution of action targets
Read more about Trace Viewer.
Browser Versions
Chromium 97.0.4666.0
Mozilla Firefox 93.0
WebKit 15.4
This version of Playwright was also tested against the following stable channels:
Google Chrome 94
Microsoft Edge 94
(1.16.0-1634781227000)
1.15.2
5 Oct 2021Chromium 96.0.4641.0
Mozilla Firefox 92.0
WebKit 15.0
Highlights
This patch includes bug fixes for the following issues:
#9261 - [BUG] npm init playwright fails on path spaces
#9298 - [Question]: Should new Headers methods work in RouteAsync ?Browser Versions
Chromium 96.0.4641.0
Mozilla Firefox 92.0
WebKit 15.0
This version of Playwright was also tested against the following stable channels:
Google Chrome 93
Microsoft Edge 93
1.15.2-1633455481000
1.15.1
30 Sep 2021Chromium 96.0.4641.0
Mozilla Firefox 92.0
WebKit 15.0
Highlights
This patch includes bug fixes for the following issues:
#9065 - [BUG] browser(webkit): disable COOP support
#9092 - [BUG] browser(webkit): fix text padding
#9048 - [BUG] fix(test-runner): toHaveURL respect baseURL
#8955 - [BUG] fix(inspector): stop on all snapshottable actions
#8921 - [BUG] fix(test runner): after hooks step should not be nested
#8975 - [BUG] feat(fetch): support form data and json encodings
#9071 - [BUG] fix(fetch): be compatible with a 0 timeout
#8999 - [BUG] fix: do not dedup header values
#9038 - [BUG] fix: restore support for slowmo connect optionBrowser Versions
Chromium 96.0.4641.0
Mozilla Firefox 92.0
WebKit 15.0
This version of Playwright was also tested against the following stable channels:
Google Chrome 93
Microsoft Edge 93
1.15.0-1633020276000
1.15.0
21 Sep 2021release-1.15
Playwright v1.15 updatesPlaywright Library
Mouse Wheel
By using
Page.mouse.wheelyou are now able to scroll vertically or horizontally.New Headers API
Previously it was not possible to get multiple header values of a response. This is now possible and additional helper functions are available:
Forced-Colors emulation
Its now possible to emulate the
forced-colorsCSS media feature by passing it in the context options or calling Page.emulateMedia().New APIs
Page.route() accepts new
timesoption to specify how many times this route should be matched.Page.setChecked(selector: string, checked: boolean) and Locator.setChecked(selector: string, checked: boolean) was introduced to set the checked state of a checkbox.
Request.sizes() Returns resource size information for given http request.
BrowserContext.tracing.startChunk() - Start a new trace chunk.
BrowserContext.tracing.stopChunk() - Stops a new trace chunk.
Playwright Test
test.parallel()run tests in the same file in paralleltest.describe.parallel('group', () => { test('runs in parallel 1', async ({ page }) => { }); test('runs in parallel 2', async ({ page }) => { }); });By default, tests in a single file are run in order. If you have many independent tests in a single file, you can now run them in parallel with test.describe.parallel(title, callback).
Add
--debugCLI flagBy using
npx playwright test --debugit will enable the Playwright Inspector for you to debug your tests.Browser Versions
Chromium 96.0.4641.0
Mozilla Firefox 92.0
WebKit 15.0
This version of Playwright was also tested against the following stable channels:
Google Chrome 93
Microsoft Edge 93
1.14.1
24 Aug 2021Chromium 94.0.4595.0
Mozilla Firefox 91.0
WebKit 15.0
Highlights
This patch includes bug fixes for the following issues:
#8287 - [BUG] webkit crashes intermittently: "file data stream has an unexpected number of bytes"
#8281 - [BUG] HTML report crashes if diff snapshot does not exists
#8230 - Using React Selectors with multiple React trees
#8366 - [BUG] Mark timeout in isVisible as deprecated and noopBrowser Versions
Chromium 94.0.4595.0
Mozilla Firefox 91.0
WebKit 15.0
This version of Playwright was also tested against the following stable channels:
Google Chrome 92
Microsoft Edge 92
1.14.0
13 Aug 2021nthselector engine is equivalent to the:nth-matchpseudo class, but could be combined with other selector engines.visibleselector engine is equivalent to the:visiblepseudo class, but could be combined with other selector engines.
release-1.14
Playwright v1.14 updatesPlaywright Library
New "strict" mode
Selector ambiguity is a common problem in automation testing. "strict" mode
ensures that your selector points to a single element and throws otherwise.Pass
strict: trueinto your action calls to opt in.// This will throw if you have more than one button! await page.click('button', { strict: true });New Locators API
Locator represents a view to the element(s) on the page. It captures the logic sufficient to retrieve the element at any given moment.
The difference between the Locator and ElementHandle is that the latter points to a particular element, while Locator captures the logic of how to retrieve that element.
Also, locators are "strict" by default!
const locator = page.locator('button'); await locator.click();Learn more in the documentation.
Experimental React and Vue selector engines
React and Vue selectors allow selecting elements by its component name and/or property values. The syntax is very similar to attribute selectors and supports all attribute selector operators.
await page.click('_react=SubmitButton[enabled=true]'); await page.click('_vue=submit-button[enabled=true]');Learn more in the react selectors documentation and the vue selectors documentation.
New
nthandvisibleselector enginesnthselector engine is equivalent to the:nth-matchpseudo class, but could be combined with other selector engines.visibleselector engine is equivalent to the:visiblepseudo class, but could be combined with other selector engines.
// select the first button among all buttons await button.click('button >> nth=0'); // or if you are using locators, you can use first(), nth() and last() await page.locator('button').first().click(); // click a visible button await button.click('button >> visible=true');Playwright Test
Web-First Assertions
expectnow supports lots of new web-first assertions.Consider the following example:
await expect(page.locator('.status')).toHaveText('Submitted');Playwright Test will be re-testing the node with the selector
.statusuntil fetched Node has the"Submitted"text. It will be re-fetching the node and checking it over and over, until the condition is met or until the timeout is reached. You can either pass this timeout or configure it once via thetestProject.expectvalue in test config.By default, the timeout for assertions is not set, so it'll wait forever, until the whole test times out.
List of all new assertions:
Serial mode with
describe.serialDeclares a group of tests that should always be run serially. If one of the tests fails, all subsequent tests are skipped. All tests in a group are retried together.
test.describe.serial('group', () => { test('runs first', async ({ page }) => { /* ... */ }); test('runs second', async ({ page }) => { /* ... */ }); });Learn more in the documentation.
Steps API with
test.stepSplit long tests into multiple steps using
test.step()API:import { test, expect } from '@playwright/test'; test('test', async ({ page }) => { await test.step('Log in', async () => { // ... }); await test.step('news feed', async () => { // ... }); });Step information is exposed in reporters API.
Launch web server before running tests
To launch a server during the tests, use the
webServeroption in the configuration file. The server will wait for a given port to be available before running the tests, and the port will be passed over to Playwright as abaseURLwhen creating a context.// playwright.config.ts import { PlaywrightTestConfig } from '@playwright/test'; const config: PlaywrightTestConfig = { webServer: { command: 'npm run start', // command to launch port: 3000, // port to await for timeout: 120 * 1000, reuseExistingServer: !process.env.CI, }, }; export default config;Learn more in the documentation.
Browser Versions
Chromium 94.0.4595.0
Mozilla Firefox 91.0
WebKit 15.0
This version of Playwright was also tested against the following stable channels:
Google Chrome 92
Microsoft Edge 92
1.13.1
29 Jul 2021Chromium 93.0.4576.0
Mozilla Firefox 90.0
WebKit 14.2
Highlights
This patch includes bug fixes for the following issues:
#7800 - [Bug]: empty screen when opening trace.zip
#7785 - [Bug]: Channel installation requires curl/wget on the system
#7746 - [Bug]: global use is not working to launch firefox or webkit
#7849 - [Bug]: Setting the current shard through config uses n+1 insteadBrowser Versions
Chromium 93.0.4576.0
Mozilla Firefox 90.0
WebKit 14.2
1.13.0
21 Jul 2021⚡️ Introducing Reporter API which is already used to create an Allure Playwright reporter.
⛺️ New
baseURLfixture to support relative paths in tests.🖖 Programmatic drag-and-drop support via the [
page.dragAndDrop()] API.
Playwright Test
⚡️ Introducing Reporter API which is already used to create an Allure Playwright reporter.
⛺️ New
baseURLfixture to support relative paths in tests.
Playwright
🖖 Programmatic drag-and-drop support via the [
page.dragAndDrop()] API.🔎 Enhanced HAR with body sizes for requests and responses. Use via
recordHaroption inbrowser.newContext().
Tools
Playwright Trace Viewer now shows parameters, returned values and
console.log()calls.Playwright Inspector can generate Playwright Test tests.
New and Overhauled Guides
Browser Versions
Chromium 93.0.4576.0
Mozilla Firefox 90.0
WebKit 14.2
New Playwright APIs
New
baseURLoption in [browser.newContext()] and [browser.newPage()][
response.securityDetails()] and [response.serverAddr()][
page.dragAndDrop()] and [frame.dragAndDrop()][
download.cancel()][
page.inputValue()], [frame.inputValue()] and [elementHandle.inputValue()]New
forceoption in [page.fill()], [frame.fill()], and [elementHandle.fill()]New
forceoption in [page.selectOption()], [frame.selectOption()], and [elementHandle.selectOption()]
1.12.3
26 Jun 2021Chromium 93.0.4530.0
Mozilla Firefox 89.0
WebKit 14.2
Highlights
This patch release includes bug fixes for the following issues:
#7085 - [BUG] Traceviewer screens are not recorded well when using constructable stylesheets
#7093 - Folder for a test-case is getting generated in test-results even if Test Case Passes when properties are given on Failure
#7099 - [test-runner] Missing types for the expect library
#7124 - [Test Runner] config.outputDir must be an absolute path
#7141 - [Feature] Options for video resolution
#7163 - [Test runner] artifacts are removed
#7223 - [BUG] test-runner viewport can't be null
#7284 - [BUG] incorrect @playwright/test typings for toMatchSnapshot/toMatchInlineSnapshot/etc
#7304 - [BUG] Snapshots are not captured if there is an animation at the beginning
#7326 - [BUG] When PW timeouts, last trace action does not get collected[BUG] When PW timeouts, last trace action does not get collectedBrowser Versions
Chromium 93.0.4530.0
Mozilla Firefox 89.0
WebKit 14.2
This version of Playwright was also tested against the following stable channels:
Google Chrome 91
Microsoft Edge 91
1.12.2
11 Jun 2021Firefox: Strange undefined toJSON property on JS objects
Error: Error while reading global-setup.ts: Cannot find module 'global-setup.ts'
Dialogs cannot be dismissed if tracing is on in Chromium or Webkit
Highlights
This patch release includes bugfixes for the following issues:
Firefox: Strange undefined toJSON property on JS objects
Error: Error while reading global-setup.ts: Cannot find module 'global-setup.ts'
Dialogs cannot be dismissed if tracing is on in Chromium or Webkit
Getting no video frame error for mobile chrome
Codegen should be able to emit @playwright/test syntax
Browser Versions
Chromium 93.0.4530.0
Mozilla Firefox 89.0
WebKit 14.2
This version of Playwright was also tested against the following stable channels:
Google Chrome 91
Microsoft Edge 91
1.12.1
9 Jun 2021Chromium 93.0.4530.0
Mozilla Firefox 89.0
WebKit 14.2
Highlights
This patch includes bug fixes for the following issues:
#6984 - slowMo does not exist in type 'Fixtures<{}, {}, PlaywrightTestOptions, PlaywrightWorkerOptions>'
#6982 - [trace viewer] srcset sanitization removes space between values, hence breaks the links
#6981 - [BUG] Getting "Please install @playwright/test package to use Playwright Test."Browser Versions
Chromium 93.0.4530.0
Mozilla Firefox 89.0
WebKit 14.2
This version of Playwright was also tested against the following stable channels:
Google Chrome 91
Microsoft Edge 91
1.12.0
9 Jun 2021Run tests across all browsers.
Execute tests in parallel.
Enjoy context isolation and sensible defaults out of the box.
Introducing Playwright Test
Playwright Test is a new test runner built from scratch by Playwright team specifically to accommodate end-to-end testing needs:
Run tests across all browsers.
Execute tests in parallel.
Enjoy context isolation and sensible defaults out of the box.
Capture traces, videos, screenshots and other artifacts on failure.
Infinitely extensible with fixtures.
Installation:
npm i -D @playwright/test
Simple test
tests/foo.spec.ts:import { test, expect } from '@playwright/test'; test('basic test', async ({ page }) => { await page.goto('https://playwright.dev/'); const name = await page.innerText('.navbar__title'); expect(name).toBe('Playwright'); });Running:
npx playwright test
👉 Read more in testrunner documentation.
Introducing Playwright Trace & TraceViewer
Playwright TraceViewer is a new GUI tool that helps exploring recorded Playwright traces after the script ran. Playwright traces let you examine:
Page DOM before and after each Playwright action
Page rendering before and after each Playwright action
Browse network during script execution
Traces are recorded using the new
browserContext.tracingAPI:const browser = await chromium.launch(); const context = await browser.newContext(); // Start tracing before creating / navigating a page. await context.tracing.start({ screenshots: true, snapshots: true }); const page = await context.newPage(); await page.goto('https://playwright.dev'); // Stop tracing and export it into a zip archive. await context.tracing.stop({ path: 'trace.zip' });Traces are examined later with the Playwright CLI:
npx playwright show-trace trace.zip
That will open the following GUI:
image
👉 Read more in trace viewer documentation.
Browser Versions
Chromium 93.0.4530.0
Mozilla Firefox 89.0
WebKit 14.2
This version of Playwright was also tested against the following stable channels:
Google Chrome 91
Microsoft Edge 91
New APIs
reducedMotionoption in [page.emulateMedia()], [browserType.launchPersistentContext()], [browser.newContext()] and [browser.newPage()][
browserContext.on('request')][
browserContext.on('requestfailed')][
browserContext.on('requestfinished')][
browserContext.on('response')]tracesDiroption in [browserType.launch()] and [browserType.launchPersistentContext()]New [
browserContext.tracing] API namespaceNew [
download.page()] methodNew options in [
electron.launch()]:acceptDownloadsbypassCSPcolorSchemeextraHTTPHeadersgeolocationhttpCredentials
Issues Closed (41)
#1094 - [Feature] drag and drop
#3320 - [Feature] Emulate reduced motion media query
#4054 - [REGRESSION]: chromium.connect does not work with vanilla CDP servers anymore
#5189 - [Bug] Codegen generates goto for page click
#4535 - [Feature] page.waitForResponse support for async predicate function
#4704 - [BUG] Unable to upload big file on firefox.
#4752 - [Feature] export the screenshot options type
#5136 - [BUG] Yarn install (yarn 2) does not install chromium from time to time.
#5151 - [Question] Playwright + Firefox: How to disable download prompt and allows it to save by default?
#5446 - [BUG] Use up to date Chromium version in device User-Agents
#5501 - [BUG] Can't run Playwright in Nix
#5510 - [Feature] Improve documentation, document returned type for all methods
#5537 - [BUG] webkit reports incorrect download url
#5542 - [BUG] HTML response is null on requestfinished when opening popup
#5617 - [BUG] [Codegen] Page click recorded as click + goto
#5695 - [BUG] Uploading executable file in firefox browser
#5753 - [Question] - Page.click fails
#5775 - [Question] Firefox Error: NS_BINDING_ABORTED [Question]
#5947 - [Question] about downloads with launchPersistentContext
#5962 - [BUG?] Download promises don't resolve when using Chromium instead of Firefox in headful mode
#6026 - [BUG] Node.js 16 results in DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field with file import
#6137 - Chromium Issue while loading a page
#6239 - [BUG] Blank screenshot saved after test failure in CI
#6240 - [Question] Can't wait for an element to be visible when it is overlapped with other elements in frontend
#6264 - [BUG?] Mouse actions produce different result depending on slowMo setting
#6340 - [Feature] Capture network requests on BrowserContext
#6373 - Stream or capture Video into buffer [Question]
#6390 - [devops] workaround Chromium windows issues with swiftshader
#6403 - [BUG] Chromium - Playwright not intercepting importScripts requests in WebWorker
#6415 - [BUG] Browsers will not start in GitLab pipeline
#6431 - [BUG] Device emulation not working with CLI
#6439 - [BUG] screencast tests fail on Mac10.14
#6447 - [Question] How to use map function in $$
#6453 - [BUG] Firefox / Webkit: Unable to click element in iframe (Frame has been detached)
#6460 - getDisplayMedia in headless
#6469 - [BUG] Screencast & video metabug
#6473 - [Feature] allow custom args for ffmpeg in VideoRecorder.ts
#6477 - [BUG] webkit can disable mouse when evaluating specified JavaScript code
#6480 - [Feature] on('selector' ...
#6483 - [Question] How to set path for local exe?
#6485 - [BUG] Cannot download a file in/tmp/with a Snap browserCommits (342)
d22fa86 - devops: update trigger for firefox beta builder
12d8c54 - chore: swap firefox-stable and firefox (#6950)
bd193ca - feat: nicer stub for WebKit on MacOS 10.14 (#6948)
55da16d - Revert "feat: switch to the Firefox Stable equivalent by default (#6926)" (#6947)
a1e8d2d - feat: switch to the Firefox Stable equivalent by default (#6926)
15668f0 - chore: make WebKit @ MacOS 10.14 error more prominent (#6943)
d0eaec3 - chore: clarify that we download Playwright browser builds (#6938)
334096e - docs(pom): fixed JS example which contained TS (#6917)
52878bb - docs: use proper option name for --workers (#6942)
99ec32a - chore: more doc nits (#6937)
8960584 - fix(chromium): drag and drop works in chromium (#6207)
42a9e4a - docs(mobile): make experimental Android support more present (#6932)
8c13f67 - fix(test runner): remove folio/jest namespaces in expect matchers (#6930)
cfd49b5 - feat: supportnpx playwright install msedge(#6861)
46a0213 - chore: remove internal uses of "folio" (#6931)
b556ee6 - chore: brush up playwright-test types (#6928)
f745bf1 - chore: bring in folio source (#6923)
d4e50be - fix: do not install media pack on non-server windows (#6925)
4b5ad33 - doc: fix first .net script (#6922)
82041b2 - test: roll to folio@0.4.0-alpha28 (#6918)
f441755 - docs(dotnet): add test runner docs (#6919)
69b7346 - fix: various test-related fixes (#6916)
a836466 - fix(tracing): error handling (#6888)
b5ac393 - docs(showcase): fixed typo in showcase.md (#6915)
9ad507d - doc(test): pass through test docs (#6914)
ec2b6a7 - test: add a glob test (#6911)
ff3ad7a - fix(android): to not call Browser.setDownloadBehavior (#6913)
9142d8c - docs: fix that test-runner is not included (#6912)
233f187 - feat(inspector): remove snapshots (#6909)
a96491c - feat(downloads): subscribe to download events in Browser domain instead of Page (#6082)
e37c078 - test(nonStallingRawEvaluateInExistingMainContext): fix broken test (#6908)
21b00d0 - test: roll to folio@0.4.0-alpha27 (#6897)
85786b1 - feat(trace viewer): fix UI issues (#6890)
cfcf6a8 - feat: use WebKit stub on MacOS 10.14 (#6892)
657aa04 - browser(webkit): import<optional>to fix win compilation (#6895)
abc66c6 - docs(api): add missing callback parameter to waitForRequestFinished (#6893)
2663c0b - browser(webkit): import<optional>to fix mac compilation (#6894)
cce62da - browser(webkit): roll to 06/03 (#6889)
fb0004c - feat(webkit): bump to 1492 (#6887)
8a81b11 - devops: replace WebKit for MacOS 10.14 build with a stub (#6886)
401dcfd - chore: do not use a subshell hack when using XVFB (#6884)
f264e85 - chore: bump dependency to fix vulnerability (#6882)
d4482f3 - chore: do not use Array.from in injected script (#6876)
f2cc439 - chore: move electron back from FYI bots to CQ1 bots (#6883)
b19b2dc - devops: introduce manual @next NPM publishing (#6881)
e41979a - chore: import @playwright/test (#6880)
375ceca - test: disable chromium headed tracing test (#6878)
0830c85 - test: roll to folio@0.4.0-alpha26 (#6877)
d7c202c - browser(webkit): fix time formatting and mac compilation (#6875)
064150f - chore: use fs.promises API instead of promisify (#6871)
d16afef - doc(tracing): add a trace viewer doc (#6864)
3de3a88 - feat(test): introducenpx playwright test(#6816)
13b6444 - docs(python): add docs for installing with conda (#6845)
cc2c691 - test: roll to folio@0.4.0-alpha25 (#6863)
b2143a9 - chore: make tracing zero config (#6859)
837ee08 - fix(waitForSelector): retry when context is gone during node adoption (#6851)
8a68fa1 - docs(test runner): advanced section (#6862)
c09726b - test: add tests for port-forwarding via playwrightclient (#6860)q
4fa792e - browser(webkit): getLocalStorageData command (#6858)
c5e1c8b - docs: use explicit tab suffixes (#6855)
e91e49e - feat(port-forwarding): add playwrightclient support (#6786)
33c2f6c - chore: do not bundle api.json and protocol.yml (#6841)
254ec15 - feat(user-agent): Adding User-Agent in headers while making connection to browser (#6813)
17b6f06 - feat: install media pack on windows withnpx playwright install-deps(#6836)
2fde9bc - fix(webkit): use new awaitPromise parameter instead of separate command (#6852)
d28f45b - api(tracing): export -> stop({path}) (#6802)
79b244a - chore: use bash instead of sh in code blocks (#6847)
f9c8b78 - feat(webkit): bump to 1490 (#6842)
ec7d37d - chore: update eslint config (#6840)
831a1c8 - feat(firefox-stable): roll Firefox-Stable to Firefox v89 (#6833)
ffe89c4 - docs(installation): use RFC5735 IPs for examples (#6729)
919d258 - feat: supportnpx playwright install chrome(#6835)
1020d3d - feat(webkit): bump to 1488 (#6826)
251c7d8 - test: properly disable electron test (#6839)
d767fc2 - browser(firefox-stable): disable proton UI in firefox stable (#6838)
a1106e5 - test: disable test that fails on Electron (#6837)
c9613b3 - devops: introduce "FYI" test bots (#6834)
cb4adb1 - feat: install chrome-beta via cli (#6831)
3c3a7f9 - feat(chromium): roll Chromium to r888113 (#6832)
4f5b65f - chore: update package-lock.json to v2 (#6830)
24dca96 - chore: remove electron/android from build_packages (#6827)
b4ffe86 - browser(webkit): add missing override annotations (#6829)
9b81dcc - browser(webkit): add awaitPromise parameter to Runtime.callFunctionOn (#6828)
d79110d - fix(port-forwarding): close socket on unexpected payloads (#6753)
531d35f - browser(chromium): revert swiftshader fixes (#6824)
17585a3 - devops: do not run tests for docs changes (#6825)
c8c849e - docs(page): add TypeScript $eval type-hint notes (#6693)
0f7a760 - browser(firefox): roll Firefox-stable to 89 (#6823)
d21a72e - chore: create new Playwright instance when launching server (#6820)
2951f4b - chore(evaluate): remove private _evaluateInUtility methods (#6815)
5fd15d8 - docs(test runner): put more example in various sections (#6812)
98fc8b1 - docs(test runner): update reporters and snapshots docs (#6811)
c8c77e4 - docs: use sha256 for exposeFunction everywhere (#6805)
329fdb1 - chore(deps): bump ws from 7.4.5 to 7.4.6 (#6792)
9c42192 - docs(python): add expect wrapper aliases for roll (#6809)
47d4d47 - docs: fixed wrong waitForRequestFinished description (#6808)
d6fe9f0 - docs(test runner): more basic docs (#6803)
709a4cb - docs(test runner): configuration docs (#6801)
f7e7205 - docs: update test runner docs (#6795)
7f0d817 - test: side effects of context.storageState() (#6793)
58e74b4 - browser(webkit): fix compilation on Ubuntu 18 (#6794)
8fefac9 - test: roll to folio@0.4.0-alpha21 (#6789)
a7afcf2 - docs: js/ts snippets for tests (#6791)
040e901 - browser(webkit): roll to 05/27/21 (#6787)
9a160c9 - feat(webkit): bump to 1486 (#6741)
c54c487 - docs(build): add more logging hints to the cheatsheet (#6785)
d2ab195 - feat(firefox): bump to 1268 (#6779)
0f76062 - docs: add test runner docs (#6784)
93a0efa - docs(runner): start adding runner docs (3) (#6777)
2f36fee - browser(firefox-stable): merge do not use Array.prototype.toJSON for serialization (#6783)
c8ee008 - browser(webkit): fix headless popup window crash (#6782)
ee7e38c - test: roll to folio@0.4.0-alpha19 (#6774)
2c9e6e8 - docs(runner): start adding runner docs (2) (#6776)
4578d57 - docs(runner): start adding runner docs (#6773)
ddce546 - chore(lint): upgrade @typescript-eslint/eslint-plugin to 4.25.0 (#6770)
7b4af6b - docs: text nits (3)
250c51f - docs: text nits (2)
9233a61 - doc: text nit
3b220e5 - test: add failing test for eval with overridden Array.toJSON (#6766)
fb3c6e5 - api(dotnet): remove whenall (#6768)
9f3e665 - fix(inspector): do not pause while recording (#6604)
95bd4b3 - chore: fix codegen to emit new C# api (#6763)
f60b79a - browser(firefox): do not use Array.prototype.toJSON for serialization (#6767)
d36bffb - fix(connect): respect timeout in all scenarios (#6762)
bb0e196 - api(dotnet): specialize waitForEvent (#6761)
3aa1471 - chore: better logging for Windows CrashPad problem (#6758)
1d0cdb3 - chore(chromium): disable GlobalMediaControls feature (#6754)
93648aa - chore: generate dotnet initializers (#6755)
1778e11 - fix(port-forwarding): on WebKit Win (#6745)
59d591b - chore(port-forwarding): validate forwarded ports on the client side (#6756)
792f3d4 - api(dotnet): use jsonelement (#6749)
c60974d - feat: do not rely on chocolatey to install Google Chrome Beta (#6735)
24a2326 - api(dotnet): use lists, not collections (#6746)
9b5bcba - devops: fix goma to use new authentication (#6747)
f7f08c9 - api(dotnet): normalize enums, remove browser channel enum (#6738)
15bf6a0 - docs(class-page.md): Add additional clarification on requestFailed event (#6724)
9dd2f83 - fix(codegen): update csharp boilerplate (#6742)
3f43db5 - feat(browserServer): forward local ports (#6375)
c9f35fb - test: revert partly 8770c64 (#6740)
01d8f87 - chore(CLI): let other langs specify exec name (#6719)
39a8abd - fix(install): prevent new-lines on CI/without TTY (#6703)
f629cbe - docs: provide examples for PowerShell when settings env vars (#6718)
30e5681 - chore: report correct browser channel for Android tests (#6733)
4076110 - browser(webkit): fix jpeg encoding on mac after last roll (#6732)
05e5ed2 - test: revert .only (#6728)
8770c64 - browser(webkit): fix mac compilation after latest roll (#6727)
2321abb - api(dotnet): fix json api (#6723)
adf87fe - browser(webkit): roll to 05/24/21 (#6722)
2e8d65e - test: skip falky raw headers test in Chromium (#6721)
88defbd - docs(network): fixed proxy typo with username (#6716)
48b4882 - test: roll to folio@0.4.0-alpha17 (#6712)
ac0980e - chore(linting): enable required semicolons rule in TS (#6701)
3097b9a - api(dotnet): use json element for a11y (#6710)
be95cf4 - api(dotnet): make headers a dict (#6709)
3bdb1c3 - api(dotnet): generate api in a specific folder (#6708)
7d0b4c2 - chore: fix model types generation (#6706)
17553e2 - api(dotnet): hide reducedMotion from csharp until C# 1.11 release (#6705)
f935753 - doc(dotnet): add a self-contained example (#6702)
ba29e99 - feat: added reduced motion media query emulation (#6646)
af2fec6 - fix(codegen): generate all options for java (#6698)
f529f0a - fix(codegen): generate acceptDownloads option for download signals (#6697)
d1d49b3 - feat(chromium): roll Chromium to r884693 (#6686)
485638e - feat(webkit): roll Deprecated WebKit to 1444 (#6696)
72c6f4f - Corrected JavaScript lambda in python sections (#6692)
544ca37 - chore(dotnet): generate clone constructors for options (#6684)
2cdf1e1 - chore: add more logging while installing browsers (#6688)
e4946b7 - fix(codegen): update csharp scripts to new syntax (#6685)
08773e8 - browser(firefox-beta): roll Firefox to 89.0b15 (#6689)
f898196 - browser(chromium): build Chromium r885250 (#6687)
b2b45af - browser(firefox): override reduced motion no-preference (#6683)
57f3a53 - test: roll to folio@0.4.0-alpha16 (#6656)
ae35906 - devops: flakiness dashboard to support new folio report (#6677)
447a0c4 - feat(types): export ScreenshotOptions (#6419)
8490eb3 - docs: small tweaks (#6681)
6281b95 - docs(dotnet): follow up to Anze's changes (#6672)
88591d4 - feat(firefox): roll to 1265 (#6678)
bae5794 - feat(webkit): roll to 1482 (#6676)
6b8b75d - docs: add JUnit examples (#6668)
c80e9fa - docs(dotnet): guides (#6639)
0aa9e06 - docs(dotnet): First part/pass for guides (#6583)
2f9b057 - browser(firefox): partially revert scrollbars patch (#6670)
fad77e2 - docs(dotnet): udpate existing examples (#6669)
ba637e6 - chore: bring back dblclick alias (#6667)
2ef47b9 - fix: wait for video to finish when persistent context closes (#6664)
e679d99 - chore: remove input files and selected option overrides (#6665)
1f22673 - api(dotnet): introduce RunAndWaitForAsync (#6660)
202511d - docs: chromiumSandbox is by default false (#6662)
277eca1 - devops: install all FF system dependencies with --full on build (#6657)
4e979fd - browser(chromium): roll to latests Chromium (#6661)
e19aea7 - docs: do not recommend context for parallel execution (#6659)
8d4e616 - browser(webkit): added reduced motion emulation (#6645)
0bf4c40 - feat(webkit): bump to 1481 (#6652)
5076cb3 - browsr(webkit): cherry-pick(mac-14): bootstrap script in utility world (#6591) (#6655)
8cc103f - test: unflake sync predicate test (#6654)
754ee13 - feat(electron): accept BrowserContextOptions in electron.launch (#6621)
972f0ec - api(dotnet): migrate to options (#6651)
b946437 - fix: wait for ffmpeg to finish writing even if page was closed (#6648)
e804d16 - test: unflake webview tests (#6644)
475a417 - fix: compute payload mime type on server (#6647)
33a505b - chore: add logging for installation steps (#6565)
dc4f37c - feat(chromium): roll Chromium to r879910 (#6635)
c2de35e - browser(webkit): roll to 05-18-21 (#6643)
c4a6c2b - browser(firefox): added reduced motion emulation (#6618)
36c0765 - api(dotnet): remove serializer options (#6641)
345f7da - fix(codegen): move injected recorder scripts to utility world (#6187)
b52cbfd - fix(chromium): close background pages on close (#6608)
d2938d0 - api(dotnet): generate options (#6630)
95924862 - feat: use up2date Chromium user-agents for device descriptors (#6594)
1e6f899 - chore(dotnet): simplify enum generation (2) (#6628)
debffa7 - browser(firefox): make Juggler types compliant with protocol viewer (#6626)
50d2438 - chore(dotnet): simplify enum generation (#6623)
7eca573 - api(dotnet): remove some overrides (#6622)
69164466 - chore: jsify dotnet generator (#6620)
a728a89 - test: unskip a few tests previously skipped with channels (#6609)
68a15fc - fix(tests): force a new worker for channels.spec (#6616)
c23a06c - test: mark "should produce screencast frames fit" as flaky on wk linux (#6617)
c4b7818 - feat(webkit): bindings in util world (#6592)
be8d836 - feat(webkit): bump to 1480 (#6605)
4c3bd11 - test: roll to folio@0.4.0-alpha14 (#6602)
c497c32 - fix(dotnet): follow up, add WaitFor(action) in order
3aa9ab8 - api(dotnet): introduce WaitFor*(action) (#6610)
5aafae3 - test: enable download url test on webkit (#6588)
d2a23a4 - fix(md): bring generic launch args into class-browsertype (#6607)
333397c - chore(dotnet): fix generator escaping, make script lf-friendly (#6606)
fd1e62b - docs(dotnet): examples for dialogs, fixes (#6599)
52658cf - chore(dotnet): revert opener async (#6600)
b5884b9 - docs(dotnet): examples for events, handles (#6598)
9aa6100 - docs(dotnet): examples for verification, video, fixes (#6597)
bbc3ebd - docs(dotnet): examples for input, intro, languages, multi-pages (#6596)
ffa83f1 - browser(webkit): bootstrap script in utility world (#6591)
5e84ead - test: roll to folio@0.4.0-alpha13 (#6570)
cff3bd0 - test: mark android test as failing (#6575)
c01c5db - docs(dotnet): examples for navigation.md, network.md, selectors.md (#6593)
7bbb91f - test(downloads): add passing test for downloads and interception (#6586)
37d03e8 - browser(webkit): roll to safari-612.1.15-branch (#6587)
bc18529 - docs(ff): temporarily remove ff-stable reference (#6585)
5b223f9 - browser(firefox): Browser.setScrollbarsHidden (#6457)
2b887bf - chore(dotnet): remove StatusCode property (#6582)
885285b - docs(dotnet): Video and Worker examples (#6581)
c9d2f6b - docs(dotnet): selectors example (#6580)
8845484 - chore(dotnet): page.opener sync (#6579)
ec0b4e9 - docs(dotnet): route examples (#6578)
2477dcc - chore(dotnet): generateAsas a method (#6576)
d7c6720 - chore: include context options into the trace (#6572)
7b844c5 - chore(tracing): simplify resource treatment (#6571)
9b0aeef - fix(install-deps): install deps on mint (#6569)
0678f48 - chore(tracing): trim network urls for readability (#6566)
ab36fde - api(download): hide new api until c# is public (#6567)
654446a - devops: fix Chromium windows archiving logic (#6568)
fbae295 - fix(har): save popup's main request/response (#6562)
e87fbfc - feat(download): add Page in Download (#6501)
3bded35 - fix(chromium): wait for existing pages when connecting (#6511)
92fa7dd - feat(firefox): roll to latest Firefoxes (#6561)
81a57ea - docs(dotnet): generate 1.11 api off tot (#6564)
c432188 - chore(dotnet): remove set properties (#6531)
6a39b86 - chore: GoToAsync -> GotoAsync (#6563)
bdb4aef - docs(tracing): remove the relative link
7adf907 - docs(dotnet): rename getPayloadAsJson to PostDataJsonAsync (#6533)
4b3e5e5 - feat(network): expose network events via browser context (#6370)
30dd024 - docs(dotnet): BrowserContext and BrowserType (#6503)
d6b98ef - docs(dotnet): examples for dialog, download and filechooser (#6526)
8b6b894 - test: prepare test to use options as passed (#6557)
ddfbffa - docs(dotnet): Page examples (#6556)
ea59fd8 - docs(dotnet): Playwright examples (#6558)
47645ec - docs(dotnet): Frame examples (#6555)
62265905 - docs(dotnet): Request Examples (#6560)
d27ce8a - feat(webkit): bump to 1478 (#6550)
fce904f - docs(dotnet): Keyboard examples (#6539)
17e9dd9 - feat(trace): support loading trace from zip (#6551)
a7ea00d - chore: show preview for page under cursor (#6548)
cc43b0d - chore: remove storybook (#6549)
d02472a - browser(firefox): fix uploads of large files in Firefox (#6547)
1a39843 - docs: follow up on adding trace dir, unify launch options (#6545)
41df660 - fix: enable util world bindings in firefox (#6546)
dc7f7f9 - fix(chromium): handle backgroundPages() onClose (#6541)
eb7b4de - tests: disable certain installation tests on Node v16 (#6544)
d627376 - browser(webkit): use correct request when navigation turns into download (#6516)
21cb726 - chore(tracing): expose tracing api (#6523)
460cc31 - fix: propagate custom executable path to codegen (#6509)
d540b44 - browser(firefox-stable): simplify isolated world structures (#6542)
2697f83 - devops(docker): upgrade to node 16 (#6498)
bcccafea - docs(dotnet): ElementHandle and JSHandle examples (#6527)
08ed560 - chore(docs): update section id to keep alphabetic order (#6515)
ab55918 - feat(firefox): bump to 1259 (#6510)
84031d4 - browser(firefox): simplify isolated world structures (#6521)
45ee257 - chore(test): fix some screencast tests (#6522)
6023c67 - docs(dotnet): add devices property (#6530)
0d3d2d3 - chore(dotet): fix goto casing (#6529)
5aa00d1 - docs(dotnet): fix link regex on xmldocs (#6528)
60a7b06 - docs(cli): add example on how to install-deps for a single browser (#6534)
2945f05 - docs(dotnet): accessibility docs (#6489)
8af8b63 - docs: add ref to waitForSelector from querySelector (#6514)
a04c54a - devops: do not run workflows when all changes are browser-only (#6520)
bf81a28 - devops: run less tests on each PR (#6518)
958629f - browser(webkit): roll to safari-612.1.14-branch (#6517)
a22ae13 - docs(java): add multithreading section (#6512)
1c10c4c - fix: fix har entry time calculation (#6472)
33823a9 - docs(download): improve documentation (#6486)
d08c50d - feat(screencast): scale fixes (#6475)
2ea465b - test(chromium): add failing test for connecting to a browser with pages (#6502)
e0aaef5 - docs: get rid of dollar sign prefix in code snippets (#6494)
6c821a0 - test(network): adding failing post data test for chromium and webkit (#6484)
269a1b6 - browser(firefox-stable): bindings in isolated worlds (#6504)
f8039be - browser(firefox): bindings in isolated worlds (#6493)
d243ae7 - doc(contribute): fix link to tests (#6499)
b01ccc2 - test: roll to folio@0.4.0-alpha11 (#6496)
8d21b12 - browser(firefox): fit screencast images into given frame (#6495)
9a6d09f - docs: update release notes (#6492)
3f64611 - docs(dotnet): Browser examples (#6490)
00ec439 - test: fix android test failure (#6487)
f1a888d - feat: support Moto G4 device in emulated devices for performance testing (#5946)
845054d - feat(firefox): bump to 1257 and 1247 (stable) (#6476)
5f77399 - chore: get rid of trailing spaces in types.d.ts (#6481)
76e4096 - test: simplify more tests (#6471)
a5143eb - browser(webkit): fix the screencast scale and toolbar offset on Mac (#6474)
5c1ddc7 - fix: fix method elementHandle.frameElement() for framesets (#6468)
f1a6582 - browser(firefox): fix addBinding on pages with CSP (#6470)
2d4538c - test: cleanup tests and configs after last folio update (#6463)
a9523d9 - feat(ff): roll to 1256/1246 (#6466)
b4261ec - browser(ff-stable): pick up screencast changes (#6464)
edd2cc8 - browser(ff): migrate screencast to client interfaces
918ae42 - chore(deps): bump lodash from 4.17.20 to 4.17.21 (#6461)
573327b - test: roll to folio@0.4.0-alpha8 (#6451)
5e4badd - feat(firefox-beta): roll Firefox to 1254 - v89.0b9 (#6454)
78ec057 - browser(firefox): implement screencast (#6452)
262824d - devops: fix chromium archiving with FILES.cfg (#6450)
45d9289 - fix(webkit): quick fix for screencast (#6448)
11012686 - devops: fix//browser_patches/export.shfor deprecated-webkit (#6446)
7c85846 - test: remove "headless should be able to read cookies by headful" (#6444)
b1f80ba - browser(firefox-beta): roll Firefox to v89.0b9 (May 6, 2021) (#6443)
fa7b5f3 - browser(chromium): roll Chromium to 879910 (#6441)
aab602c - fix: use old screencast protocol calls for Mac 10.14 (#6440)
7906a8f - feat: add best-effort support for Ubuntu 21.04 (#6429)
c7751b9 - devops: use chromium's FILES.cfg to compute archive files (#6438)
e4272fa - browser(webkit): add stdc++fs lib to wtf to fix Ubuntu 18.04 (#6437)
298b7ae - devops: install Google Chrome Beta testers (#6389)
b29b7df - fix(connect): handle disconnect in various situations (#6276)
d902b06 - test: fixed flaky connectOverCDP tests (#6436)
217cbe3 - test: cleanup bad usages of pageTest (#6430)
67f98d0 - chore(dotnet): split unions into multiple overloads (#6400)
9433cae - test: move all page tests to a subdirectory (#6427)
c44f2dc - chore: cut v1.11 release (#6426)1.11.1
20 May 2021#679 - can't get browser's context pages after connect_over_cdp
#432 - [Bug] Videos are not complete when an exception is thrown
Chromium 92.0.4498.0
Highlights
This patch includes bug fixes across all languages for the following issues:
#679 - can't get browser's context pages after connect_over_cdp
#432 - [Bug] Videos are not complete when an exception is thrown
Browser Versions
Chromium 92.0.4498.0
Mozilla Firefox 89.0b6
WebKit 14.2
This version of Playwright was also tested against the following stable channels:
Google Chrome 90
Microsoft Edge 90
Issues Closed (2)
#679 - can't get browser's context pages after connect_over_cdp
#432 - [Bug] Videos are not complete when an exception is thrownCommits (4)
57c3011 - chore: mark v1.11.1 (#6675)
c51bd43 - cherry-pick(release-1.11): fix video saving (#6671)
6f0923b - fix(release-1.11): fix tests after cherry-pick
97aacf3 - cherry-pick(release-1.11): wait for existing pages when connecting (#6619)1.11.0
10 May 2021We talked about Playwright
Showed engineering work behind the scenes
Did live demos with new features ✨
Highlights
🎥 New video: Playwright: A New Test Automation Framework for the Modern Web (slides)
We talked about Playwright
Showed engineering work behind the scenes
Did live demos with new features ✨
Special thanks to applitools for hosting the event and inviting us!
Browser Versions
Chromium 92.0.4498.0
Mozilla Firefox 89.0b6
WebKit 14.2
This version of Playwright was also tested against the following stable channels:
Google Chrome 90
Microsoft Edge 90
New APIs
Support for async predicates across the API in methods such as [
page.waitForEvent()], [page.waitForRequest()] and othersNew emulation devices: Galaxy S8, Galaxy S9+, Galaxy Tab S4, Pixel 3, Pixel 4
New methods:
[
page.waitForURL()] to await navigations to URL[
video.delete()] and [video.saveAs()] to manage screen recording[
electronApplication.browserWindow()] to access browser window
New options:
screenoption in the [browser.newContext()] method to emulatewindow.screendimensionspositionoption in [page.check()] and [page.uncheck()] methodstrialoption to dry-run actions in [page.check()], [page.uncheck()], [page.click()], [page.dblclick()], [page.hover()] and [page.tap()]headersoption in [browserType.connect()]
Issues Closed (45)
#2370 - [Feature] selector improvements proposals
#2995 - [Question] Is it possible to customize both user-data-dir and websocket port
#3933 - [Question] logger stderr full output
#4610 - [Question] Is there a way to access theplaywrightobject in dev tools in browsers launched withinlaunch()?
#4740 - [BUG] [Firefox] TypeError: browser.webProgress is undefined / assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
#4761 - Chromium:await context.newPage()hangs forever, addressed with--disable-gpuarg
#5105 - Feature Option to install system dependencies
#5523 - "page-screenshot.spec.ts - should work with a mobile viewport" is flaky on Chromium
#5591 - [Docker] Follow up in docs
#5614 - [BUG] Drop support for Node.js 10 (2021-04-30)
#5687 - [BUG] page.goto: Navigation failed because page crashed!
#5693 - [Feature] breakdown PWDEBUG flags
#5762 - [BUG] iframe inside an iframe is not visible
#5765 - [BUG] click visibility check fails for visible element
#5779 - [Question]/[Feature Request] Taking a screenshot of the element without shadow
#5796 - [BUG] The First Script cannot launch browsers
#5815 - [BUG] inconsistency with OOPIF
#5816 - [Feature] Inspector Recorder Raw Mouse/Screenshot tools
#5833 - [REGRESSION]: support mac 10.14 on webkit
#5839 - [BUG] Firefox is too slow with going to page and getting content
#5840 - [Question] Docs for debugging: PWDEBUG=1, page.pause() and debugger;
#5845 - [Internal] close browsers via closing pipes in processLauncher
#5846 - [Internal] do not collect navigation signals while waiting for element state
#5853 - [Feature] Redirect video stream to new path
#5854 - [BUG] codegen inserts AltGraph key press
#5858 - [BUG]<button>in shadow DOM not working with click()
#5862 - [BUG] Error: ENOENT: no such file or directory, open '/var/task/node_modules/playwright-core/browsers.json' on Vercel with Next.js
#5872 - [Feature] Running Playwright on non-patched Firefox and Webkit
#5874 - Any plans for a Ruby Library?
#5875 - [BUG] 'hidden' on web component still resolves a child in the shadow root as visible
#5888 - [BUG] Click not working while using htmx
#5890 - [BUG]
#5893 - Missing Dependencies preventing playwright launch
#5894 - [BUG] action works on Safari, but fails in WebKit
#5895 - [Feature] Support sites hosted on cloudflare.com
#5896 - [Feature] waitForURL
#5897 - [Question] switch different firefox/chrome version
#5901 - [BUG] browserType.launch: Host system is missing dependencies! Missing libraries are: libenchant.so.1
#5914 - [BUG] Console errors while using Playwright Inspector causes tests to fail
#5915 - [BUG] : Codegen on loading a new page showing error - attaching Video
#5916 - [BUG] : Chromium Issue while loading a page
#5918 - [Feature] pass config values to chromium
#5921 - [Feature] Ability to provide postData & method properties inpage.goto.
#5929 - [BUG] Control+Shift+ArrowLeft fails on contenteditables with FF + Linux
#5936 - [Feature] page.$: add waitForSelector as optional parameterCommits (285)
f427d43 - chore: mark v1.11.0
791443d - feat(webkit): roll to r1472 (#6425)
477b93b - feat(firefox-stable): bump to 1245 (#6424)
8737207 - feat(devices): add more Android device descriptions (#6413)
765d749 - chore(ff): remove some dead code (#6423)
9e36f5c - docs(consoleMessage): add missing console message comments (#6320)
90de864 - docs(dotnet): introduce separate csharp viewport option (#6198)
42a5566 - fix(types): fix waitForSelector typing to not union null when appropriate (#6344)
8d66edf - browser(webkit): roll to safari-612.1.13-branch (#6422)
9b8dc4a - browser(webkit): fix Ubuntu18, make vp9 build hermetic (#6421)
47cf9c3 - feat(chromium): bump to r878941 (#6216)
ab850af - fix: support relative downloadsPath directory for downloads (#6402)
55095279 - devops: do a full browser checkout by default on Dev machines (#6411)
ee835fb - fix(webkit): fix screencast compilation on win (#6412)
77c1020 - devops: re-use firefox checkout for firefox-stable (#6410)
5c51961 - browser(firefox-stable): cherry pick recent changes from browser_patches/firefox (#6409)
14ebcfd - docs: update fill/selectOption docs to mention label retargeting (#6406)
fc9454e - browser(webkit): implement screencast (#6404)
86df1df - test: update download test expectations (#6394)
5326f39 - browser(chromium): build 878941 that reverts shader changes (#6407)
1a58281 - browser(firefox): don't record video outside the viewport (#6361)
2945dac - devops: fixed broken GitHub Actions workflow (#6399)
b8eb2b8 - feat(firefox-beta): roll Firefox to beta 89.0b6 (1250) (#6393)
ce7a72b - test: disable certain screencast tests on Firefox. (#6396)
4e0e13c - browser(firefox-beta): roll Firefox to beta 89.0b8 - May 2, 2021 (#6397)
4cd5673 - chore: add debugging information on bots to trace unzipping (#6395)
653d483 - docs: add firefox-stable channel documentation (#6328)
fe94dc5 - docs: expose tracing API in java (#6387)
6219042 - fix(webkit): swallow requests from detached frames (#6242)
fd42539 - devops: fix swiftshader on Chromium Windows (#6391)
dddfbaae - chore(dotnet): run dotnet format after generation (#6376)
1a859eb - chore(electron): fix node/browser race conditions, expose browser window asynchronously (#6381)
6da7e70 - chore: regenerate types after non-clean merge Follow-up to #6379
af92565 - Update class-page example code (#6379)
07fb81a - fix(launcher): improve error message for missing channel distribution (#6380)
018f314 - fix(electron): deliver promised _nodeElectronHandle (#6348)
de21a94 - test: roll to folio@0.4.0-alpha6 (#6366)
29164a6 - devops: use Node.js 12 on Windows bots (#6377)
6ce56dd - test(accessibility): remove and update tests for new chromium (#6372)
5e8d9d2 - feat(firefox): roll Firefox to r1248 @ v89.0b2 (#6281)
a59a494 - chore: drop support for Node.js 10 (#6371)
7405655 - docs(cli): add install-deps command and reference to it (#6374)
934bc67 - test(tracing): start adding tracing tests (#6369)
9da718d - docs: change the position argument location in check functions (#6191)
ba652c1 - docs: inline parsing should honor template location (#6289)
bb84539 - chore(dotnet): don't generate setters on interfaces (#6293)
d9015b9 - chore(dotnet): translate Javascript words to csharp (#6321)
dec9736 - docs(page): add missing docs on emulateMedia (#6322)
6c04b82 - browser(firefox-beta): roll @ beta Apr 29, 2021 - v89.0b6 (#6368)
0abcaf0 - browser(webkit): roll to safari-612.1.12-branch (#6367)
b0fae0f - browser(firefox): merge FrameData into Frame (#6365)
1c40c94 - chore: only throw the proxy on launch required on win/CR (#6350)
263a0fd - fix: evaluate in utility for screenshots (#6364)
a456131 - test: set 20 minutes timeout for installation tests (#6363)
11882cd - test: roll to folio@0.4.0-alpha3 (#6262)
2333eb0 - chore: adjust GitHub template envinfo command (#6359)
434f474 - chore(evaluate): implement non-stalling evaluate (#6354)
06a9268 - Reapply #6363 w/ modification--amend
0becd94 - Revert "Revert "fix: break require cycle (#6353)""
17e966b - Revert "fix: break require cycle (#6353)"
0bcfa92 - fix: break require cycle (#6353)
560bea5 - fix: do not close stream until all bytes have been read (#6351)
3b1bfdf - devops(chromium): build a new Chromium 876873 (#6349)
369bd55 - feat(webkit): bump to 1468 (#6345)
1b771ed - docs(python): add Error base class (#6315)
0039b31 - browser(webkit): support downloads larger than 16Kb on Windows (#6343)
34135746 - feat(webkit): bump to 1467 (#6295)
922d9ce - chore(tracing): fix some of the start/stop scenarios (#6337)
abb6145 - docs(keyboard): clarify how page.type works for non-US characters (#6273)
83480850 - browser(webkit): preserve color scheme override after navigation (#6333)
5be005b - Revert "fix: increas recent logs buffer (#6330)" (#6332)
b6b2366 - fix: browser logging (#6331)
3c12602 - fix: increas recent logs buffer (#6330)
a51dc50 - fix(accessibiltiy): ignore new roles that came with new chromium (#6329)
f4b8c3a - browser(firefox): disable proton UI for now (#6327)
2f290cc - fix: fix docs for BrowserType headers (#6314)
ce03310 - docs: add route example with some logic (#6324)
be27f47 - feat(tracing): introduce context.tracing, allow exporting trace (#6313)
a9219aa - chore: start / stop context tracing (#6309)
97cf86d - chore: make instrumentation per-context (#6302)
10c76ff - browser(firefox): fix race between idleTasksFinishedPromise and window closure (#6308)
d31107f - fix(docs): make headers and option, not param (#6307)
fd31ea8 - feat: support extra http headers in browserType.connect() (#6301)
83758fa - devops: add swiftshader DLL to chromium archive (#6305)
f63f92b - chore: repair run_static_server.js (#6298)
a1f9152 - chore(deps): bump ssri from 6.0.1 to 6.0.2 (#6299)
cc4782a - Revert "fix(chromium): force --use-gl=swiftshader on Windows (#6272)" (#6300)
0ed328f - chore(tracing): include events in the trace (#6285)
6d38b10 - chore: abbreviate roll-browser to roll (#6296)
ff147b0 - docs: update waitForRequest/Response snippets (#6294)
6e9b76f - chore(dotnet): enable nullable enum arguments (#6271)
7a3f8ef - feat(firefox-stable): roll to r1244 @ v88.0 (#6280)
cffab1f - chore: update//utils/roll_browser.jsscript to roll anything (#6279)
531bf4d - browser(chromium): roll Chromium to new Dev (#6283)
f9478b1 - browser(webkit): fix compilation for drag drop and duplicated macro (#6278)
2755d5e - browser(webkit): fix timezone override on Windows (#6277)
111e559 - devops: roll Chromium to r871980 (#6275)
59d1d2d - devops: add swiftshader file to Chromium builds (#6274)
97b485b - docs(python): add BrowserType.connectOverCDP (#6270)
357224d - fix(chromium): force --use-gl=swiftshader on Windows (#6272)
3a93c41 - chore: remove stack from WaitForEventInfo (#6259)
fe4fba4 - chore: extract debugger model from inspector (#6261)
34e03fc - browser(webkit): roll to 04-21 (#6257)
7053ac9 - chore(types): add channel to launchServer (#6256)
6bdc67a - feat(actions):trialoption that only performs the checks (#6246)
640b10c - fix(codegen): missing await before newPage.goto (#6253)
85e2db2 - chore: push dispatcher guid into object, reuse it in trace (#6250)
06b0619 - fix(codegen): do not commit last action on mouse move (#6252)
faf39a2 - devops: fix firefox-stable roll build (#6255)
ad731c1 - feat(debug): PWDEBUG=console vs PWDEBUG=inspector (#6213)
4dd8a1c - browser(firefox-stable): roll to Firefox 88.0 (#6249)
09c35ad - browser(firefox): roll firefox-beta to Apr 20, 2021 - version 89.0b2 (#6247)
9cd89ae - fix: host dependency validation (#6227)
f9af4c3 - chore(tracing): render error snapshot as Action (#6241)
23dfaf9 - feat: start downloading firefox-stable channel (#6177)
033bc9b - chore(tracing): sync timeline and list highlight (#6235)
27e720f - feat(tracing): keyboard navigate lists (#6224)
8ca58e3 - fix(page): add name property to pageerror event (#5970)
7dccfd4 - chore(dotnet): generate IDownload.createReadStream method (#6192)
7ec57c0 - chore: read browsers.json with require (#6186)
6296d27 - devops(gha): remove obsolete comment (#6234)
27ed123 - feat: remove core dumps from bots (#6231)
329980b - feat: use --no-service-autorun in Chromium (#6232)
243ede5 - feat(waitForEvent): allow async predicate (#6201)
fd1f3fa - docs(python): add BrowserType.connect (#6230)
bd0614b - added Selenium Box (#6228)
2c34eae - devops: better upload flakiness dashboard upload script (#6176)
90913160 - chore: render wait for on trace timeline (#6222)
17ead28 - fix(server): disconnect ws clients on server close (#6215)
e4ae650 - fix(inspector): fall back to custom executable path for UI (#6214)
8c1b994 - feat(webkit): bump to 1463 (#6210)
ce96914 - fix(remote): unregister selectors after client disconnect (#6195)
ce0098d - devops(chromium): build a new Chromium Dev 870763 (#6203)
e81a3c5 - api: add optionpositionto check/uncheck (#6153)
96cee43 - browser(webkit): roll to safari-612.1.11-branch (#6185)
fff1f3d - chore: simplify remote connection protocol (#6164)
c4c9809 - docs: move waitUntil doc before timeout (#6138)
cd24904 - chore(dotnet): waitForCloseAsync (#6184)
610d1fd - docs: fix typo on waitForConsoleMessage (#6183)
b3b87f6 - fix(codegen): ignore AltGraph when typing (#6086)
b62a436 - feat(selectors): support max distance in layout selectors (#6172)
82e8c72 - devops: fix firefox-stable build script (#6175)
ad8b434 - devops: trigger Firefox Stable builds (#6174)
17c6406 - devops: add firefox-stable channel browser (#6173)
bba7ca3 - feat(chromium): roll to r869727 (#6170)
994939f - feat(webkit): bump to 1462 (#6169)
f3b44d1 - fix(screencast): wait for ffmpeg to finish before reporting video (#6167)
957abc4 - devops(chromium): build a new Chromium Dev 869727 (#6149)
5fe3ee1 - browser(webkit): fix assertion unsafe to ref/deref from different threads (#6163)
e26d98d - docs(csharp): add viewport back (#6161)
ec07a58 - test: disable test on mac 10.14 (#6157)
bd8433b - test: cleanup various testing env variables (#6155)
856ced6 - tests: attribute electron tests to electron on the dashboard (#6156)
f6606d5 - fix: finish all artifacts when browser exits (#6151)
16c8fe7 - docs: fix typo in language filter (#6154)
e6f5ce9 - chore: allow running multiple snapshotters for tests (#6147)
db09275 - docs: reject -> throw, fix small typos (#6152)
63d0d46 - feat(cdp): replace wsEndpoint with protocol neutral endpointURL (#6141)
53d50f9 - fix(screencast): properly stop screencast on context closure (#6146)
f7e7ea9 - chore: skip click test based on the browser version (#6127)
476ff21 - feat(webkit): bump to 1461 (#6143)
779355a - feat(types): make the template on BrowserType optional (#6142)
310692b - test: run page tests on electron bot (#6122)
d9546fd - chore: read all traces from the folder (#6134)
e82b546 - docs(dotnet): generate arguments in a consistent order (#5800)
632ff11 - test: properly annotate Android tests for flakiness dashbboard (#6133)
bd0043b - browser(webkit): keep browser process running when all windows closed (#6131)
d0db4f6 - feat: include screencast in trace (#6128)
0c00891 - devops: prepare flakiness dashboard cloud function to Android tests (#6129)
09c1759 - feat(webkit): bump to 1460 (#6124)
b37116d - chore(dotnet): fix generating from parent directory (#6095)
ee44fbe - devops: upload test results for android bots (#6121)
6ff209c - fea(firefox): roll Firefox to r1245 (#6114)
2897df6 - devops: restore flakiness dashboard upload (#6116)
d6c4157 - browser(webkit): fix curl compilation (#6115)
cdbf52f - docs: add basic intro page for C# (#6110)
83c7a3b - docs: pass wsEndpoint as param in java (#6112)
4bec81b - browser(firefox): roll Firefox to beta @ Apr 6, 2021 (#6111)
4bd7467 - docs: add missing connectOverCDP.wsEndpoint param in java (#6109)
36a5469 - test: roll to folio 0.3.21-alpha (#6108)
0dfde2e - fix(screenshot): never throw page is navigating (#6103)
f61ec3f - docs(docker): update docker documentation to inlcude java (#6102)
9abed11 - docs: expose connectOverCDP in java (#6107)
112ac2f - feat(chromium): roll Chromium to r867878 (#6065)
fb7c703 - browser(webkit): roll to 06-04-21 (#6106)
fd40c92 - chore(dotnet): generate generic EventHandlers (#6076)
33198c3 - chore(dotnet): format generateDotnetApi (#6075)
e5b011a - chore(dotnet): remove Get prefix (#6074)
ee39642 - chore(dotnet): alias for dblclick in C# (#5899)
da3ddb0 - devops: start uploading test reports from chrome stable runs (#6092)
ba5ba52 - test: expose browserVersion in the tests (#6090)
481034b - chore: trace viewer actions sidebar (#6083)
63e471c - test: cleanup proxy and context tests (#6085)
1a44f68 - devops: migrate flakiness dashboard to the new folio reporter format (#6089)
6a767d1 - docs(docker): use focal by default (#5746)
5afe282 - test: move remaining files from old test/ directory (#6081)
8e6639b - test(keyboard): add test with contenteditable and selection (#5938)
e3cf675 - test: remove a copy of folio, use upstream (#6080)
af48a8a - devops: use ubuntu focal on bots and docs (#5951)
e9f0f6c - fix: mark disposed dispatchers as such (#6051)
bd61f86 - test: print "Using executable at ..." for custom executable (#6077)
4f7e745 - test: migrate last tests to new folio (#6071)
f21f478 - test: migrate more page tests to folio (#6062)
ee1bcd7 - docs: fix the Electron example
da1dafc - fix: start downloading firefox build for ubuntu 20.04 (#6064)
2c6c816 - devops: add firefox-ubuntu-20.04 as expected build (#6063)
f5781f9 - test: migrate most non-page tests to new folio (#6059)
5a1974c - devops(chromium): build a new Chromium Dev 867878 (#6061)
4da2d6e - feat(firefox): roll Firefox to r1244 (#6052)
06299227 - test: migrate page tests to new folio (#6054)
46949cd - devops: start doing separate builds for Firefox @ Ubuntu 20.04 (#6058)
d0afa9d - test: migrate cli tests to new folio (#6048)
561cb23 - fix: dispatch popup event on the client end (#6044)
4f2827f - fix(dom): click on links inside shadow dom (#5850)
1444cc8 - test: migrate electron tests to new folio (#6043)
2357f0b - browser(firefox): fix bootstrap on bots with --no-interactive (#6047)
a4eb4c0 - test: migrate remoteServer tests to new folio (#6042)
a7630c9 - api: remove Chromium* classes (#6040)
d862dee - fix(deps): added missing unicode and emoji dependencies (#6039)
d662eba - browser(firefox): roll Firefox to beta @ Apr 1, 2021 (#6041)
be79b38 - test: bring new folio and migrate small amount of tests to it (#5994)
66541552 - browser(firefox): make dpr emulation optional, take screenshots at 1x (#5555)
2290d8f - test: remove unnecessary folio.extend calls before test migration (#6030)
8f71f59 - fix(input): do not retarget from input/textarea/select to an ancestor button (#6036)
d71c147 - browser(firefox): fix some missing mac edit commands (#6034)
37b07ad - docs: replace headful with headed (#6017)
cb15603 - browser(firefox): do not report console messages twice. (#6031)
9b2e4eb - browser(webkit): make dpr emulation optional, take screenshots at 1x (#5557)
b81238c - test: migrate fixtures.spec.ts to use beforeEach/afterEach (#6029)
16d98cb - chore(launcher): add more logging to processKill (#6025)
f472c96 - feat: support webkit technology preview (#5885)
9d9599c - api(video): implement video.saveAs and video.delete (#6005)
9532d0b - feat(webkit): bump to 1457 (#6021)
587682e - feat(chromium): bump to r865012 (#5963)
26f9e29 - docs(route): add note about unroute (#6019)
2f5bf04 - browser(webkit): fix double deref
3455c32 - browser(webkit): restore occlusion detection disabled
ceb4bc2 - test: add a test for hidden shadow host (#6008)
ba89603 - test: add test for new RTCPeerConnection() (#6013)
85ab1dc - feat(waitForURL): add a new waitForURL api (#6010)
98f1f71 - chore: ensure we emit Page event before resoliving pageOrError (#6012)
36d2d93 - fix(firefox): roll Firefox to 1239 (#6007)
72a2dff - Add Sauce Labs showcase (#5990)
93d532b - browser(webkit): fix windows compilation (#6011)
97955247 - browser(webkit): roll to safari-612.1.9-branch (#6002)
77993c3 - fix(installer): add libx11-xcb1 to the list of chromium deps (#6003)
94252231 - fix(devops): include libANGLE-shared.dylib into mac archive (#6004)
0d3d27d - browser(webkit): trigger new build after updating cleanup script (#5997)
28b14fc - feat(docker): use playwright install-deps for building docker image (#5995)
9473f39 - fix(devops): cleanup now removes entire webkit build dir on mac (#5996)
061f9ea - test: failing test for websockets + offline context (#4912)
fdb3c1f - chore(dotnet): don't generate set only properties (#5982)
5c1e8dc - chore(dotnet): fix properties with Is prefix (#5981)
ca7cd7a - devops: skip flakiness upload for forks (#5978)
0b6625b - docs: fix HEADFUL run instructions (#5980)
6d6f802 - fix: favicon with color pref crashes firefox (#5977) (#5979)
f1c0d09 - feat(size): emulate window.screen size (#5967)
8c6822b - fix(docker): update native deps and docker files for chromium (#5989)
2262d87 - Update nativeDeps.ts (#5988)
4cf0568 - browser(webkit): support safe area insets (#5987)
bc6dc1d - chore(dotnet): treat file as a reserved word (#5960)
0943af2 - fix: kill browser if process doesnt exit for 30s after close (#5968)
779037a - chore(dotnet): avoid adding two prefixes (#5974)
49bbc2b - test(proxy): add a failing test for HTTPS proxy CONNECT User Agent (#5972)
2cce885 - browser(webkit): roll to safari-612.1.8-branch (#5965)
dfe0781 - docs: fixed various typos (#5958)
475a6fe - chore(dotnet): use csharp types in Frame and Page (#5961)
12e0062 - docs: update channels doc to mention manual installation (#5964)
6c1d3f6 - browser(webkit): refresh embedder UI on macOS (#5957)
3ce02a9 - fix(selectors): properly generate selectors for tricky ids (#5940)
01208967 - test: interception breaks remote importScripts (#5953)
0076e46 - chore: remove stray test logs (#5955)
5872d04 - browser(chromium): build current dev chromium (865012) (#5950)
f791495 - chore(dotnet): Improve enum values (#5939)
601c09f - docs(page): remove note that screenshot takes 1/6+s (#5945)
4fea83c - docs: commit new release notes (#5944)
6b3f4cd - chore: calculate video size in a single place (#5942)
8e97607 - fix(viedo): do not stall video in popups (#5941)
24ee49b - chore(dotnet): improve goto name in csharp (#5917)
2cf4caa - chore: implement mixins in protocol.yml (#5932)
76781122 - tests: do not run video tests with Chrome Stable on Linux (#5931)
cc265fe - docs(websocket): add web socket examples (#5927)
1b80233 - infra: remove shards from mac builds to remove 6 bots (#5928)
7d7e5ed - browser(webkit): roll back to safari-612.1.7-branch first commit (#5920)
2016fdb - chore: cut v1.10.0 (#5925)1.10.0
24 Mar 2021Playwright for Java v1.10 is now stable!
Run Playwright against Google Chrome and Microsoft Edge stable channels with the new channels API.
Chromium screenshots are fast on Mac & Windows.
Highlights
Playwright for Java v1.10 is now stable!
Run Playwright against Google Chrome and Microsoft Edge stable channels with the new channels API.
Chromium screenshots are fast on Mac & Windows.
Bundled Browser Versions
Chromium 90.0.4430.0
Mozilla Firefox 87.0b10
WebKit 14.2
This version of Playwright was also tested against the following stable channels:
Google Chrome 89
Microsoft Edge 89
New APIs
browserType.launch()now accepts the new'channel'option. Read more in our documentation.
Issues Closed (61)
#742 - [Feature] - Delete a certain cookie instead of clear all cookies
#1063 - [Feature] Improve handling of invalid browser arguments
#1797 - [Feature] Support NodeList and Node as return from Page.evaluateHandle(pageFunction[, arg])?
#2089 - [BUG] Text selector doesn't match by combined innerText
#2220 - [Feature] Download progression
#2238 - [Feature] Hide file pickers if they will be emulated
#2308 - [Question] How to handle discarded tabs?
#2747 - [Feature] Highlight element in the browser
#2767 - [Question] Is it possible to define host resolution rules per browser instance?
#2902 - [Feature] Method to wait for event listeners to be attached
#3032 - [Feature] mouse.getPosition()
#3184 - [Feature] Support raw headers
#3265 - [Feature] page.inputValue() that reads from the value property, not the attribute
#3540 - [Feature] Lazy loaded frames API
#3648 - [Feature] Provide command args with Logger logs
#3828 - [Feature] Ability to set device scale factor on an existing page
#3989 - [Feature] Adding support to custom keyboard layout
#4263 - [Question] Video Stream
#4377 - [Feature] Support evaluate() as a content script
#4390 - [Feature] a hook mechanism to augment cross-cutting logic
#4441 - [Feature] extension message passing in non-persistent context
#4507 - [BUG] DeviceDescriptor not exposed
#4543 - [Question] Plans to implement puppetaria (aria/ selector)
#4902 - [BUG] Can't catch firefox error dialog
#5228 - [BUG] launchPersistentContext hanging on "about:blank" [REOPENED]
#5633 - [Question] How to record video / take screenshot with multiple windows
#5634 - [REGRESSION]: Text selector changed behavior
#5636 - [BUG] Playwright install fails on windows 10
#5642 - [Question] How to start webkit with persistent context?
#5648 - [BUG] Error: Duplicate target when trying to connectOverCDP next time
#5649 - [Question] How to disable Debug mode, once I set PWDEBUG in env. variable now it's always running in debug mode
#5684 - [BUG] Firefox is failing while testing.
#5716 - [Feature] make scroll into view optional for page.click()
#5733 - Browser Closed : UnhandledPromiseRejectionWarning (node:1744)
#5735 - [Question] Is there a way to access the payload for a PUT request method?
#5747 - [Question] Mocking the same endpoint multiple times in one test
#5748 - [Feature] Docs update for text= vs :has-text vs :text
#5749 - [BUG] UnhandledPromiseRejectionWarning: browserType.launch: Timeout 30000ms exceeded.
#5752 - CURLOPT_INTERFACE alternative in Playwright browser?
#5767 - [BUG] Error: browserType.launch: Failed to launch chromium because executable doesn't exist at /home/jenkins/.cache/ms-playwright/chromium-844399/chrome-linux/chrome
#5778 - [BUG] Chromium: screenshot is created without scrollbars
#5780 - [Question] Support for CentOS
#5781 - waitForResponse()
#5786 - [Question] How to download Playwright Chromium browsers in local?
#5792 - Cant trace "METHOD: OPTIONS" XHR request
#5793 - [Question] The browser rendering two versions of the same page source code
#5794 - [BUG][Chromium] AudioRtpReceiver::OnSetVolume: No audio channel exists - error with testing microphone in the Twillio video calls
#5795 - [Question]WebKit version
#5797 - [Feature] Option to not remove unused browsers
#5799 - [internal, wip] dependency installation considerations
#5801 - [BUG]browserType.launch: Failed to launch firefox because executable doesn't exist at /root/.cache/ms-playwright/firefox-1234/firefox/firefox
#5802 - [BUG] codegen window fails to appear on window as non admin
#5804 - [Question] Is there a way to emulate cmd+f functionality?
#5809 - [Question]how to use playwright cookies to bypass login
#5818 - [Question] is it not possible to use no proxy with 'per-context' lauched instance?
#5821 - [Feature] DefinePage.clickoptions typing
#5822 - Does playwright support waiting for the element invisible?
#5841 - [BUG] Inspector collects signals before action
#5842 - [BUG] When using with Chrome 89, Browser.close won't quit browser in headful mode
#5851 - [BUG] webkit evaluate promise never returns / fails
#5857 - [Question] Docker debian slim imageCommits (187)
a61487f - chore: mark v1.10.0
543582b - chore: expose channel name literals for types (#5922)
f70eaf4 - docs(android): android doc nits (#5924)
8f1d03f - docs(options): clarify recordHarPath and recordVideoDir behavior (#5923)
ca35da0 - test(android): run selected page tests on android (3) (#5910)
3a27bdd - chore(dotnet): improve name generation for objects (#5860)
9f1b2f6 - test(resize): add a screenshot resize test (#5907)
ec6453d - fix: installer compilation (#5908)
172de40 - browser(chromium): build current dev chromium (#5911)
b74af22 - browser(webkit): fix mac compilation after latest roll (#5909)
14ccc80 - fix(android): bundle android driver in all settings (#5883)
cac5aeb - docs(browser): wording nits
1bcbb15 - set system default python3 to python3.8 (#5892)
2064d27 - fix(installer): retain browsers installed via Playwrigth CLI (#5904)
6dd4d75 - browser(webkit): roll to 03-22-21 (#5903)
67c29e8 - chore: add missing await to floating promises (#5813)
be9fa74 - docs(intro): remove stray wait from sync snippet
23725192 - docs: add event listener guide (#5881)
fbb4626 - chore(dotnet): support for optional properties in generated objects (#5889)
1f1c8b7 - test(android): run selected page tests on android (2) (#5882)
ad5c028 - test(android): run selected page tests on android (#5879)
cbebf64 - docs: fix circleci invalid yaml (#5880)
16bf462 - test: organize tests to not depend on context (#5878)
5c753b7 - docs: add the browsers section (#5876)
c68bd31 - test: make init script test strict again (#5877)
c4410d3 - Revert "chore(docs): add support for language specific notes (#5810)"
516f13e - Revert "chore(docs): reference the available constants for csharp (#5785)"
c435ff3 - feat(firefox): roll Firefox to r1238 (#5873)
9a50304 - fix: work-around electron's broken event loop (#5867)
dfb1c99 - chore(docs): reference the available constants for csharp (#5785)
d53cea7 - fix(pageOrError): throw in launchPersistentContext if context page has errors (#5868)
bb21faf - fix: disable firefox's webrender on Darwin (#5870)
9bd35d8 - test: disable shortcuts test on Firefox darwin (#5869)
de16d17 - docs(dotnet): move options arguments last (#5856)
2367039 - chore(stable): throw user-friendly message when ffmpeg is missing (#5865)
141583c - infra(chrome_stable): add more bots (#5863)
84efdfc - chore(autowait): auto-wait for top level navigations only (#5861)
5ae731a - chore(evaluate): respect signals when evaluating on handle (#5847)
7011e57 - chore(evaluate): explicitly annotate methods that wait for signals (#5859)
c550008 - docs(dotnet): adds option parameters for csharp on element handle (#5823)
ae460f0 - devops: start downloading webkit fork on Mac 10.14 (#5837)
693e569 - chore(docs): add support for language specific notes (#5810)
1fab845 - browser(firefox): roll Firefox to beta @ Mar 16, 2021 (#5852)
e8a33c4 - feat(firefox): roll Firefox to r1237 (#5849)
bf36b48 - fix(rimraf): allow 10 retires when removing the profile folder (#5826)
d1a3a5d - chore: cleanup test logging on CI (#5848)
8df4dcb - feat(webkit): bump to 1446 (#5844)
d81ebff - fix(inspector): do not collect action signals while on pause (#5843)
36a61c3 - docs(dotnet): ability to generate generics and null on path args (#5824)
ab4629a - devops: add trigger workflow to deprecated webkit builds (#5836)
8dc7405 - devops: refactor check_cdn.sh script (#5835)
e64f666 - devops: fork webkit into a separate browser (#5834)
5cf1361 - chore: pretty print storage state (#5830)
c2db8da - fix(inspector): await inspector init to avoid races (#5829)
8565e72 - chore: consolidate browser cheatsheets (#5832)
5835c7e - browser(webkit): fix linux builds, install liblcms2-dev (#5831)
095ad63 - chore: update error message when using userDataDir arg (#5814)
ea32ad2 - infra(channel): add edge stable bot (#5825)
95affe9 - chore: do not delete unused browsers when PLAYWRIGHT_SKIP_BROWSER_GC is specified (#5827)
226bee0 - browser(webkit): roll to 03-15-21 (#5828)
defd1a3 - fix(chromium): fix crash if connecting to a browser with a serviceworker (#5803)
1dd6bd3 - infra(channel): wire release channel to all tests (#5820)
a96d6a7 - feat: allow to pick stable channel (#5817)
0d32b05 - chore(deps): bump react-dev-utils from 11.0.3 to 11.0.4 (#5811)
c4578f1 - chore: organize per-browser dependencies (#5787)
a185da9 - chore: allow skipping host requirements validation (#5806)
7fcb892 - fix(firefox): ensure a exception catch when async send call to a dead object; (#5805)
ad69b2a - chore: unify recorder & tracer uis (#5791)
43de259 - fix(xmldocs): over-greedy regex for md links and clean-up (#5798)
6a8c8d9 - docs: fix Dialog class reference (#5788)
720dea4 - docs(dotnet): adding missing methods from dotnet port (#5763)
b01f6ec - test: add a test for css selector being relative to the root handle (#5789)
7706e5a - docs(python): removed wrong quotes for enum (#5784)
ddfdf8a - fix: install chromium along with ffmpeg (#5774)
fea6669 - feat(trace): highlight action target (#5776)
42e9a47 - chore(xmldocs): resolve MD links to XmlDocs tags (#5782)
9560da7 - chore(deps): bump elliptic from 6.5.3 to 6.5.4 (#5783)
7fa59f6 - infra(stable): add chrome stable bot (#5768)
13977301 - test: click links in shadow dom (#5773)
c020278 - docs(readme): use aka.ms Playwright Slack invite link (#5741)
0bc39f2 - chore(generator): change dotnet default value from null to default (#5764)
1d6feb2 - fix(inspect): highlight on explore input change (#5726)
d311058 - fix(BrowserContext): race between continue and close (#5729)
aae8cc8 - docs: improve Download methods documentation (#5760)
1a94ea5 - chore: refactor trace viewer to reuse snapshot storage (#5756)
659d3c3 - docs: use custom link element in waitForNavigation example (#5755)
bc3a0fb - browser(webkit): roll to 03-08-21 (#5754)
47104746 - docs(dotnet): marking methods async (#5751)
0ca56a8 - docs(dotnet): mark waitForClose as async (#5730)
53a62a3 - test: add post data test with PUT request (#5745)
9e20566 - fix(postData): do not require content type when retrieving post data (#5736)
b5aeba9 - docs: update java version to alpha in the intro (#5744)
b3561e6 - feat(chromium): bump to 857950 (#5742)
ea9485e - docs: document PlaywrightException in java (#5743)
8ed4962 - test(downloads): make logging only show up on CI (#5732)
976f35a - fix: update codegen to produce set* instead of with* (#5738)
70beef8 - docs: rename with* to set* for java (#5737)
0306fcb - docs: add java examples for CLI (#5727)
e56f56c - browser(firefox): pass null for the data transfer (#5723)
8ffcbb3 - docs: add a pom.xml example for java intro (#5720)
26b7db9 - feat(cli): launch-server command (#5713)
5c46a61 - docs(dotnet): csharp example for worker (#5718)
2e4f645 - docs(dotnet): csharp mouse example (#5717)
2af8b8a - chore: inspector snapshot nits (#5676)
a9238ce - feat(debug): introduce npx playwright debug (#5679)
ff91858 - docs: instpector launch params for java (#5711)
217a593 - docs: remove current accessbility api from java (#5708)
d3eff50 - feat(java): implement codegen (#5692)
5903e77 - browser(chromium): roll to 857950 (#5709)
f024291 - docs: add Page.onceDialog for java (#5706)
d87522f - fix(text selector): revert quoted match to match by text nodes only (#5690)
986286a - chore(dotnet): add examples to accessibility docs (#5702)
ad27f3b - docs(xml): code escaping for XMLDocs generation (#5703)
23b035b - chore(dotnet): add documentation on result classes and include property name (#5694)
5ad8da9 - devops(docker): fix typo in docker build (#5705)
2a6bb50 - docs(python): fix outdated waitForResponse example (#5685)
28d9f24 - browser(firefox): roll Firefox to Beta @ Feb 28, 2021 (#5659)
e4d33f5 - fix(click): do not retarget from label to control when clicking (#5683)
30e88c3 - docs: enable BowserType.connect in java (#5686)
ff243f1 - fix(addInitScript): make it work on new pages without navigations (#5675)
2cdb6b4 - fix(inspector): inlcude sdkLang in the error (#5682)
2973ece - docs: string constant quoting (#5681)
1eb0f42 - chore(dotnet): unique name for generated files, change root namespace (#5678)
1a0ccc1 - feat(webkit): bump to 1443 (#5665)
19bd32f - docs: add video and proxy docs (#5668)
3b9d4f2 - docs: Add ffmpeg to roll_browser.js usage output (#5643)
850e3c5 - test: add debugging output for downloads tests (#5673)
f925a03 - fix(docs): broken link to method (#5669)
f637b03 - devops(docker): fix registry to be accessible by Azure Pipelines user (#5672)
f2a3d21 - browser(chromium): roll to 858453 (#5670)
9042ca2 - docs: rename Page.console to consoleMessage in java (#5640)
cd2e976 - docs: unfork installation docs (#5661)
cad7634 - docs: spread parameters of page.setViewportSize in java (#5664)
c390f39 - fix: include parsed .md spec into api.json (#5662)
b253ee8 - chore(snapshot): brush up, start adding tests (#5646)
ee69de7 - docs: docs typos (#5658)
eb98020 - test: add a test for 2 cdp sessions against the browser (#5655)
01abeac - browser(webkit): roll to 03/2 (#5656)
86c7d77 - chore(dotnet): handle setters and ordering bug (#5654)
6c9e806 - docs: add java snippets to the examples in guides (#5638)
aeb2b2f - feat(inspector): wire snapshots to inspector (#5628)
c652794 - chore: bump webkit version (#5637)
28f3fe8 - chore(dotnet): generate dotnet API from Markdown (#5089)
4b54174 - feat(webkit): bump to 1442 (#5622)
96e099a - docs: use "argument:<type>" notation for events (#5626)
cb0a890 - docs: java snippets for api classes (#5629)
612bb02 - docs(intro): fixed wrong Python option (#5625)
992f808 - chore(snapshot): implement in-memory snapshot (#5624)
b285936 - docs: more clarity in the attribute selectors (#5621)
f7e5db4 - chore: remove ProgressController.abort (#5620)
2ff6d54 - chore: extract snapshotter from trace viewer (#5618)
af89ab7 - chore: make trace server generic (#5616)
1cd398e - chore: bump storybook dependency (#5619)
f72b098 - chore: encapsulate parsed snapshot id in the trace viewer (#5607)
ca8998b - feat(log): prepend browser pid to browser logs (#5569)
5ae2661 - chore: simplify overrides management in trace viewer (#5606)
0102e08 - fix(text selector): make quoted selector match by text nodes (#5603)
8906ba3 - chore: spell overridden (#5605)
c91159f - chore: make stack filtering playwright dev-friendly (#5604)
f85deeb - docs: no [File] links (#5601)
6bf3fe8 - chore: make trace model a class (#5600)
f71bf9a - chore: move trace viewer into server (#5597)
b07dba8 - test: improve test names (#5511)
3dd0681 - chore: udpate scripts that generates release draft (#5556)
5fb7793 - chore: move logic from sw to server (#5582)
070cfdc - fix(inspector): skip stack trace playwright/src lines only under tests (#5594)
aa94dfb - chore: remove invalid link from release notes (#5577)
bd31817 - docs(readme): fixed broken docs links (#5587)
fefe37e - fix(inspector): stacktrace with browser specific NPM package (#5589)
48c237b - chore: move trace to server (#5565)
180446d - fix(types): restore electron types (#5574)
841264c - fix(test): disable failing drag and drop test on mac and windows (#5575)
f3a0921 - test: move installation tests out of playwright tree (#5573)
1dc7fb1 - test: add more tests for Set-Cookie in fulfill (#5570)
5cb914b - fix(types): do not use import('electron') (#5572)
8f79b8c - docs: update release-notes.md (#5571)
e3cd52d - test(drag): enable drag tests everywhere but chromium (#5553)
ec9a534 - docs: describe playwright.create in java (#5566)
dc3fd3f - test(drag): test for dropEffect (#5559)
8ef6cb7 - feat(codegen): use the name attribute for more elements (#5376)
11d3eb6 - browser(webkit): fix mac compilation take 2 (#5567)
e677e7b - browser(firefox): pass drag action test (#5560)
df4b984 - browser(webkit): fix mac compilation (#5564)
4f9b7d5 - docs: add intro docs for java (#5563)
0ad2ace - docs: filter out devices section in java (#5562)
1ee46a8 - docs: fix docusaurus build (#5554)
0eb96d7 - chore: cut v1.9.0 (#5551)1.9.2
10 Mar 2021Chromium 90.0.4421.0
Mozilla Firefox 86.0b10
WebKit 14.1
Highlights
Text selector and
click()fixes.Browser Versions
Chromium 90.0.4421.0
Mozilla Firefox 86.0b10
WebKit 14.1
Issues Closed (2)
#5634 - [REGRESSION]: Test selector changed behavior
#5674 - [REGRESSION]: Label is not visible anymoreCommits (18)
e42fe21 - cherry-pick(release-1.9): fix(BrowserContext): race between continue and close (#5771)
11968ce - chore: mark v1.9.2 (#5770)
1dae530 - cherry-pick(release-1.9): fix(click): do not retarget from label to control when clicking (#5769)
ccc89e3 - cherry-pick(release-1.9): fix(text selector): revert quoted match to match by text nodes only (#5766)
3fcc57c - fix: update codegen to produce set* instead of with* (#5738) (#5740)
07438f6 - cherry-pick(release-1.9): rename with* to set* for java (#5739)
097f7c3 - feat(java): implement codegen (#5692)
ab3b8a1 - cherry-pick(release-1.9): launch-server command (#5713) (#5719)
4e317b3 - docs: remove current accessbility api from java (#5708) (#5712)
563254a - docs: add Page.onceDialog for java (#5706) (#5710)
c6a2901 - cherry-pick(release-1.9): fix registry to be accessible by Azure Pipe… (#5704)
f41d000 - docs: enable BowserType.connect in java (#5686) (#5691)
75b83cb - docs: rename Page.console to consoleMessage in java (#5640) (#5671)
1d7d08c - docs: spread parameters of page.setViewportSize in java (#5664) (#5667)
5d275f1 - docs: describe playwright.create in java (#5566) (#5666)
6b4d528 - fix: include parsed .md spec into api.json (#5662) (#5663)
9a4d690 - cherry-pick(release-1.9): add java snippets to the examples in guides (#5638) (#5660)
948e658 - docs: java snippets for api classes (#5629) (#5657)1.9.1
25 Feb 2021Chromium 90.0.4421.0
Mozilla Firefox 86.0b10
WebKit 14.1
Highlights
Electron types and text selector fixes.
Browser Versions
Chromium 90.0.4421.0
Mozilla Firefox 86.0b10
WebKit 14.1
Issues Closed (3)
#5585 - [REGRESSION][1.9.0]: Cannot find module 'electron' or its corresponding type declarations
#5583 - [REGRESSION]: Selectortext=""works differ for element with nested elements since 1.9
#5588 - [BUG][Inspector] Stack won't extracted correctly if browser specific NPM packages are usedCommits (6)
92bbdbe cherry-pick(release-1.9): make quoted selector match by text nodes (#5603) (#5608)
1196ac6 cherry-pick(release-1.9): skip stack trace playwright/src lines only under tests (#5594) (#5599)
9e69146 cherry-pick(release-1.9): stacktrace with browser specific NPM package (#5589) (#5598)
9d8d5c7 chore: mark v1.9.1
c264eb3 cherry-pick(release-1.9): move installation tests out of playwright tree (#5573) (#5578)
f9b5f75 cherry-pick(release-1.9): do not use import('electron') (#5572) (#5576)1.9.0
24 Feb 2021Playwright Inspector is a new GUI tool to author and debug your tests.
Pause script execution with
await page.pause()in headed mode. Pausing the page launches Playwright Inspector for debugging.New has-text pseudo-class for CSS selectors.
:has-text("example")matches any element containing"example"somewhere inside, possibly in a child or a descendant element. See more examples.
Highlights
Playwright Inspector is a new GUI tool to author and debug your tests.
Line-by-line debugging of your Playwright scripts, with play, pause and step-through.
Author new scripts by recording user actions.
Generate element selectors for your script by hovering over elements.
Set the
PWDEBUG=1environment variable to launch the Inspector
Pause script execution with
await page.pause()in headed mode. Pausing the page launches Playwright Inspector for debugging.New has-text pseudo-class for CSS selectors.
:has-text("example")matches any element containing"example"somewhere inside, possibly in a child or a descendant element. See more examples.Page dialogs are now auto-dismissed during execution, unless a listener for
dialogevent is configured. Learn more about this.Playwright for Python is now stable with an idiomatic snake case API and pre-built Docker image to run tests in CI/CD.
Browser Versions
Chromium 90.0.4421.0
Mozilla Firefox 86.0b10
WebKit 14.1
New APIs
Issues Closed (48)
#3337 - [REGRESSION]: NS_ERROR_FILE_ALREADY_EXISTS with Firefox sporadically
#3697 - [Feature] allow selecting the second (k-th) selector match.
#3866 - [Feature] Driver - allow to install only selected browsers
#4366 - [BUG] Webkit in Docker only scroll once
#5174 - [Feature] codegen: use name to reference iframes
#4485 - [QUESTION]failed to launch chromiumerror while runningnpx jestwithin Dockerfile.bionic
#5186 - [BUG] codegen: race when element changes the selector during the action
#4585 - [Question] Video not being loaded, therefore it can't be played
#4624 - Endless frameattached events [BUG]
#4655 - [BUG] Navigation failed because page crashed! (Javascript tests)
#4660 - Can't find profile directory
#5182 - [BUG] cli/debug: Evaluation failed, This document requires 'TrustedHTML' assignment.
#4750 - integration for the aXe accessibility testing engine [Feature]
#4776 - [Question] MaxListenersExceededWarning: Possible EventEmitter memory leak detected.
#4780 - [BUG] Error: EPERM: operation not permitted, unlink "..../CrashpadMetrics-active.pma"
#4810 - [BUG] Different Chromium -webkit-focus-ring-color for headless/headful
#5190 - [BUG] codegen: do not use select's innerText for selector
#5185 - [BUG] Codegen does not record actions after pressing concrete keys
#4842 - [Question] Can't add 'set-cookie' headers via page.route fulfill?
#4845 - [Feature] ElementHandle.getTagName()
#4851 - [BUG] Navigation failed because page crashed!
#4854 - [Question]How to judge whether an element visble or not?
#4859 - [Question] How to handle dialog box (promptUserAndPass) which shows up when landing on page
#4867 - [Question] Docker Target directory is expected to be absolute / extract-zip@2.0 does not support relative path
#4892 - [BUG] Links in Docker docs broken
#5184 - [BUG] codegen: The generated code is incomplete in Windows system
#4922 - [BUG] (Browser.newPage): target is undefined
#5193 - [Bug] macOS notarization fails
#4961 - [BUG][Electron] page.waitForSelector : Passed function is not well-serializable!
#4964 - [BUG]WebKit test failed with page.waitForNavigation() method
#4981 - [BUG] launchPersistentContext hanging on "about:blank"
#4984 - [Feature] Support for Raspberry PI
#4996 - [BUG]install python -m playwright install on windows7 Python3.8.7, got this error message:(node:5848) UnhandledPromiseRejectionWarning: Error: connect ETIMEDOUT 13.107.24 6.13:443
#5029 - Header and footer are unusually small
#5034 - [Question] New browser windows are opened instead of tabs on every newPage()
#5051 - [BUG] Browser context is closing too long
#5052 - [Question] Is it possible to scroll element into view until it's visible and can be clicked?
#5058 - [Question] Usage advice for script injection and execution
#5061 - SSO Login Question: (Refer Issue #5053)
#5062 - [Feature]Socket connect timeout should be confiugrable
#5065 - [BUG] Malformed URL leads to UnhandledPromiseRejection
#5066 - [BUG] yarn install results inError: unexpected end of fileduring archive extraction (Zlib.zlibOnError)
#5067 - [DEVOPS] automate chromium builds
#5083 - [Feature] elementHandle.$ query in whole page instead of the given element
#5084 - [BUG] Error: Unsupported platform: freebsd
#5085 - [BUG] Fix documentation regarding Java
#5087 - [Feature] Add debug log when calling to waitForResponse/waitForRequest
#5091 - [Question] Download with headless: true works fine , but with headless: false not; plw 1.8.0Commits (319)
d23129b - chore: mark v1.9.0
096ddab - fix(inspector): hide drawer when recording (#5548)
cadcd53 - docs(why-playwright): fix link to downloads doc (#5505)
75ee727 - docs(api): fix api reference links for textContent (#5498)
74ae013 - test(webkit); enable test to scroll twice (#5550)
4ae4c3c - browser(webkit): fix response.requestHeaders instrumentation in libsoup after latest roll (#5549)
8316f41 - browser(webkit): roll to 02-22 (#5547)
b42c369 - fix(codegen): replace html lib with createElement (#5531)
eb9c8ce - feat(chromium): roll Chromium to Dev @ Feb 19, 2021 (#5536)
c3ee1cf - chore(docs): use shared template for waitFroNavigation.url (#5520)
a891bec - chore: remove //browser_patches/buildbots folder (#5535)
b41a0c2 - feat(webkit): roll WebKit to r1438 (#5540)
6e61cde - test: add test to make sure that 'download' attr is respected (#5538)
65bf44d - docs(inspector): add initial inspector docs (#5541)
791c8da - feat: roll firefox to r1234 (#5539)
6ec77dc - fix(inspector): fix the wait for event error rendering (#5517)
eb3efb3 - fix: do not ship broken symlinks in webkit for mac (#5512)
496aeeb - browser(firefox): follow-up with crash reporter disabling (#5534)
f10d0a8 - devops: do not create non-removable folders on windows (#5533)
1e327d4 - fix(bindings): unflake TestBrowserContextExposeFunction.shouldWork in java (#5532)
600f731 - feat(inspector): render api names from metainfo (#5530)
d6ac3e6 - browser(webkit): honor Set-Cookie header from intercepted requests (mac) (#5529)
058ce60 - docs: combine text sections in selectors doc (#5528)
f154a82 - feat(inspector): send api names along with metainfo (#5518)
46c8c29 - fix(logs): restore pw:browser logs after launch has finished (#5527)
e2a935b - devops: fix nits in browser compilation infrastructure (#5526)
c57f1fc - devops(chromium): missing depot tools in prepare_checkout.sh script (#5525)
57c7a70 - test: mark test as "fixme" on chromium (#5524)
5f9acfa - feat(webkit): bump to 1436 (#5513)
bba9fab - browser(firefox): roll Firefox to beta @ Feb 19, 2021 (#5521)
7ed1d88 - browser(chromium): build Chromium Dev revision (#5522)
6841da1 - docs: always use number for polling option in java (#5519)
cbcc609 - fix: return non-secure cookies with HTTPS URLs (#5507)
a9c91b0 - test: fix test sanitization (#5515)
18ce956 - devops: fix firefox build (#5516)
b2d9af5 - browser(firefox): properly initialize debugging pipe on windows (#5514)
48f7a37 - docs(csharp): trimming to avoid broken refs (#5330)
bb2b296 - feat(inspector): pause on page/context close (#5319)
8a9048c - feat(inspector): selector input (#5502)
a9faa9c - test(webkit): add new scrolling tests to ensure correct webkit behavior (#5496)
846fd71 - browser(webkit): fix scrolling in mobile viewports (#5497)
9b73edf - chore(docs): fix invalid markdown reference (#5479)
15833ee - feat(inspector): render params and durations in log (#5489)
da135c2 - fix(trace viewer): follow up with recent instrumentation changes (#5488)
3248c24 - feat(inspector): collapse completed items (#5484)
dc51536 - feat(waitForResponse): print regex pattern when waiting for request/response (#5485)
8c18b90 - devops: refactor chromium automation scripts (#5486)
b2227c1 - feat(inspector): allow selecting file (#5483)
8f3a6c6 - chore(docs): improve xmldoc inline code parsing (#5480)
cc749fe - fix(android): added recent apps button (#5331)
30e68f6 - chore: simplify code generation (#5466)
b6bd7c0 - feat(chromium): roll Chromium to r851527 (#5434)
7971bb0 - devops: verify clean tree on bots after build (#5354)
f2b25fe - fix: do not rely on $PATH when resolving executables (#5475)
6b40d75 - fix: allow setting input files for detached <input> elements (#5467)
4f1d84d - browser(webkit): respect download attribute (#5474)
d0352cf - feat(firefox): roll Firefox to r1230 (#5473)
027f2ba - devops: enable goma.sh debugging info
822f7cb - browser(firefox): respect Set-Cookie header from fulfilled request (#5456)
9dd443e - chore(docs): add ability to generate xmldocs (#5164)
0c7da44 - test(inspector): add some tests (#5461)
1f3449c - fix(download): do not stall BrowserContext.close waiting for downloads (#5424)
8b9a2af - feat(inspector): render errors (#5459)
ae2ffb3 - feat(inspector): instrument wait for event (#5457)
e7b431d - devops: fix test triggering (#5458)
ecd15e6 - fix(inspector): restore point highlight (#5455)
0782b25 - test: fix recorder downloads test (#5454)
3c87737 - feat: add replay log (#5452)
6326d6f - devops: properly trigger tests on internal test runners (#5453)
291b6d0 - docs: use frameByUrl to find frame by URL (#5451)
529e398 - docs: selector engine script type (#5450)
7e7d3db - docs: update init script type for java and C# (#5449)
ac1599c - fix(registry): handle relative registry path (#5406)
2a40d8e - devops: fix goma startup and shutdown (#5447)
aef052a - chore: pause on input in pwdebug mode (#5427)
55614c7 - docs: replace bool with boolean (#5431)
ccfb3c3 - docs: add callback description to waitForNavigation (#5433)
3e7b8e3 - test: add basic end-to-end driver test (#5426)
85005923 - devops: fix post-checkout cleanup on windows (#5438)
539942c - devops: empty commit to test internal tests
2ac93f0 - devops: another attempt to trigger internal tests (empty commit)
17b792b - devops: attempt to trigger internal tests (empty commit)
2dfe1c7 - fix: do not spam console when building playwright packages (#5436)
f2a31ad - browser(chromium): build Chromium Dev revision as of Feb 12 (#5435)
b5d3080 - feat(firefox): roll Firefox to r1229 (#5428)
0c8d8a3 - fix(docs): correctly detect type-only overrides (#5430)
fa730be - devops: trigger internal tests on each commit
5ea6d6e - fix(docker): avoid symlink hack in Docker images (#5429)
9d2269d - devops: attempt to fix npm canary publishing
449adfd - chore(recorder): move recording output into the gui app (#5425)
a42c46b - browser(firefox): roll Firefox to beta @ Feb 11, 2021 (#5421)
7551c01 - docs: remove devices property from c# and java (#5423)
99f8e1c - docs: document Android and friends (#5415)
44ff8b5 - devops: fix win archiving logic (#5420)
6113d4d - feat(chromium): roll Chromium to r846621 (#5413)
d8f637c - chore(typescript): enable esModuleInterop (#5409)
6576bd8 - chore: move before/after action instrumentation into dispatcher (#5416)
6e6e36b - chore: move progress log into the metadata (#5411)
a164f2a - chore: make instrumentation multiplexing proxy-based (#5410)
a06cf70 - chore: pass parsed stack in metainfo (#5407)
fa8e898 - fix(test): missing test coverage for browserType.connectOverCDP (#5408)
60e9216 - docs: change page error type to string (#5412)
d39d2ea - docs: support method overrides (#5405)
dca70ab - feat(chromium): connect to a browser over cdp (#5207)
a8ebe4d - fix(screencast): support viewport with odd dimensions (#5399)
7933cfc - docs: inline Location methods into ConsoleMessage in java (#5402)
b4b14ea - chore: refactor actionability checks (#5368)
38209c6 - fix(selector generator): correct nth-match, remove label treatment, performance (#5388)
90dbe35 - docs: exclude recordHar field from java (#5401)
009765d - devops: upload flakiness dashboard for release branches too (#5392)
d21d244 - test: mark failing test as fixme (#5397)
c12374e - feat(docs): improve link validation (#5394)
78ab295 - fix(isVisible): do not wait for the selector to be resolved (#5393)
4d4efcc - docs: add release notes doc (#5391)
6a98241 - feat(selectors): speed up text selector (#5387)
716bd42 - docs: spread RecordHar options in java (#5390)
152701a - docs: rename viewport option to viewportSize in java, C# (#5383)
3695dab - docs: split RecordVideo object into dir and size options in java (#5389)
e2013b2 - devops: fix driver publish
2e01fbd - chore: introduce instrumentation api (#5385)
1240dd4 - devops: start publishing canary at midnight every day (#5343)
adeb234 - docs: change WebSocket.frame* event type to WebSocketFrame in java (#5384)
206432c - devops: fix goma startup on windows
db633c4 - devops: fix args.gn syntax with goma
32d62a5 - devops: fix goma path on windows (#5381)
0652f32 - chore: introduce sdk object base class (#5370)
90954490 - devops: rename env variable (#5379)
d5a51a2 - devops: fix chromium-win build (#5378)
1efcf44 - test: disable test on all bigsur (#5375)
ad557dc - devops: introduce goma infrastructure for Chromium builds (#5377)
0871a9c - feat(codegen): improve selector generation (#5364)
b50c363 - docs(selectors): add quick guide section (#5346)
ef9995e - docs: make pdf options strings in java and C# (#5369)
002d8ef - chore: remove Progress.aborted (#5363)
21c24c2 - devops: do not check for logs existance when building browsers (#5367)
d49a1d8 - chore: kill electron process on ctrl+c (#5366)
d499cf0 - refactor: remove browserPaths in favor of Registry class (#5318)
6680713 - chore: don't reuse recorder app profile (#5365)
b32be4b - chore: expose electron types (#5362)
4bfdaa3 - docs: fix playwright.dev generation error (#5360)
6d56a11 - feat(proxy): throw when socks proxy is used with auth (#5358)
f35acc2 - docs: improve enum naming (#5359)
551338e - browser(webkit): roll to 02-08 (#5356)
bb0af31 - fix(video): set default size to fit into 800x800 (#5333)
7e757cd - fix(types): regenerate types for latest doc changes (#5353)
da4304a - chore: run recorder app in no sandbox (#5345)
48a295d - docs(api): stock browsers for media codecs (#5352)
3c657cb - browser(chromium): roll to r851527 (#5348)
f3a5bba - devops: infra to automate chromium builds (#5347)
32ba29a - devops: introduce compressed dashboard
f094f65 - docs: add section for custom setup codegen (#5339)
3d14780 - fix(docker): add fonts-liberation for chromium (#5344)
a1b3164 - docs: fix nested union handling (#5341)
983e043 - chore: fix build/packaging for recorder and traceviewer (#5338)
d3cc1d7 - docs: add name for SameSiteEnum (#5340)
4b74f56 - docs: add enum aliases (#5335)
c0610cc - feat(recorder): remove recorder overlay toolbar (#5334)
9c0609b - fix(trace viewer): do not render invisble tabs (#5322)
de30ee0 - fix(oopifs): account for various races between processes (#5320)
494f0f6 - docs: update route callback type for java (#5324)
28e5975 - docs: define java specific waitFor* methods (#5315)
0cbb2c1 - feat(text selector): match text in child nodes (#5293)
c1b08f1 - feat(recorder): allow dragging toolbar (#5316)
d1aad63 - browser(webkit): fix scrolling a second time on linux (#5173)
ff06399 - docs(csharp): events convention based naming fix for csharp (#5238)
cf96b15 - fix(docs): ignore case when validating order of events and methods (#5309)
997bd08 - feat(webkit): bump to 1432 (#5300)
c2b8718 - fix(waitForFunction): process isFunction auto-detection (#5312)
17986773 - feat: remove chaining from trace viewer preview (#5265)
dd9b51d - chore: friendlier install failure message (#5281)
3126fee - fix(lint): correctly find api.ts on windows (#5308)
3c36322 - feat(ffmpeg): roll FFMPEG to r1005 (#5303)
039e7af - feat(firefox): roll Firefox to r1228 (#5302)
d851bce - devops: bundle ffmpeg license file with our archives (#5301)
fe2c529 - docs: complete sentences with full stop (#5298)
9841f6d - chore: remove the 1.8.0a1 mentions (#5297)
6ae2e57 - fix: properly detect function literals (#5296)
847bea2 - chore: remove force_expr parameter from python api (#5295)
34adc28 - feat(pause): make page.pause public (#5288)
509c3e9 - browser(webkit): fix ubuntu 18 compilation (#5294)
c0480e5 - docs: skip Respone.json and Request.postDataJSON in Java (#5292)
1c65b59 - docs: use separate options for string and buffer body (#5291)
d8e0834 - fix(server): use setMaxListeners(0) on all internal event emitters (#5283)
3d253c4 - feat: auto-detect expression/function in js server (#5284)
fa1cf41 - fix(codegen): do not show recorder controls in iframes (#5282)
080a952 - docs: rename Route.continue_ to Route.resume in java and C# (#5290)
6c44a78 - docs: make Request.failure return string by default (#5289)
a8425d3 - docs: change Accessibility.snapshot type to string in java and c# (#5287)
eee2d02 - docs: change Accessibility.snapshot type to string in java and c# (#5286)
53ed35e - feat(dialogs): auto-dismiss dialogs when there are no listeners (#5269)
bbfbb1b - browser(firefox): fix build on Windows (#5275)
cb1b642 - devops: downloading ffmpeg during install step (#5249)
9d72d6b - browser(webkit): roll to 02-03-21 (#5277)
4cad345 - fix(oopifs): do not emulate focus in oopifs (#5270)
985dd56 - devops(chromium): fix chromium linux build
8d4dc60 - devops(firefox): properly cleanup old node.js artifact
986bdda - devops(firefox): fix arm build dependency management
11f570b - devops(firefox): fix Firefox on Apple Silicon (#5272)
b392c57 - devops: attempt to install Firefox build deps on buildbots (#5271)
4cd0d3e - docs: change StorageState type to string in java and C# (#5268)
1a464c7 - feat(video): switch vp8 in ffmpeg to realtime (#5260)
1ffd654 - browser(webkit): roll to 02-02-21 (#5263)
8a8d8ea - fix: update terminal size dynamically (#5250)
d96c547 - docs: note that user data dir is a parent of profile path (#5262)
6c12f58 - feat(selectors): always make xpath relative (#5252)
e0f41bf - docs: change default return type of Response.finished to string (#5261)
c51a1f9 - docs: update type of env in the remaining places (#5254)
cee394d - docs: split ignoreDefaultArgs into 2 options for java (#5251)
9e09bd3 - fix(oopifs): ignore target closure when broadcasting across oopifs (#5246)
5564b20 - docs: mark ChromiumBrowserContext as js and python specific (#5255)
8c65871 - fix(trace viewer): Bringing back the ability to display images in Network Tab in Trace Viewer. (#5232)
e53c9c3 - browser(firefox): roll Firefox to beta @ Feb, 1 2021 (#5248)
276bbca - fix: retry browser launch if it failed due to glibc error (#5247)
198e403 - docs: add missing java.md (#5245)
e0e3870 - docs: fix Python snippet casing (2)
174b6aa - docs: fix Python snippet casing (#5244)
1db5ef2 - docs: document electron api (#5229)
e71ef79 - docs: add java traits to some methods (#5222) (#5243)
08e2b5b - fix(installer): retry installer when hitting ETIMEDOUT as well (#5239)
7b53631 - devops: fix chromium build on Intel MacBook (#5242)
fc405ee - browser(webkit): mac drag and drop (#4994)
a9de3d8 - feat(snapshots): switch MutationObserver to only observer attributes (#5220)
bf8c30a - feat(ui): extract recorder sidebar into a window (#5223)
82bb92f - Revert "docs: add java traits to some methods (#5222)"
9c46686 - docs: add java traits to some methods (#5222)
a1d875e - docs: make inline refs us parameter name instead of its alias (#5219)
97551915 - chore: centralize playwright creation, bind context listeners to instance (#5217)
7fe7d0e - feat(snapshots): make cssom overrides efficient (#5218)
dbcdf9d - chore(docs): aliases for dotnet/chsarp docs. (#5162)
69ca308 - feat(snapshots): incremental snapshots (#5213)
21041bc - docs: support argument overrides (#5200)
8581e3e - fix(docs): a couple of broken links (#5211)
5e934d0 - chore(trace viewer): split SnapshotServer (#5210)
79e00e4 - feat(ui): more recorder uis (#5208)
f8fbfe2 - feat(trace viewer): Adds _debugName BrowserContextOption to let users define a name for their contexts (#5205)
8d8fa4c - chore: move trace viewer to the src/web (#5199)
01bddcd - devops(chromium): account for terminated / interrupted jobs
c9fae65 - devops: fix chromium checkout
75a0d7a - devops(chromium): install depot_tools if missing (#5204)
a7eea9f - browser(chromium): roll Chromium to r846621 (#5203)
51d90c5 - devops: support Chromium mac compilation (#5202)
06f679b - devops: mark another tracing test as fixme (#5201)
fe1302b - feat(installer): retry download if connection is interrupted (#5126)
b323018 - devops: fetch chromium checkout if it has not been before (#5169)
d1a2c87 - chore: remove backward compatibility code from installer (#5168)
2a71165 - chore: disable failing tracing test (#5170)
ce43e73 - feat(traceviewer): use http server instead of interception (#5195)
e915e51 - chore: fix bad merge in codeGenerator.ts (#5196)
2793d14 - fix(codegen): do not forget to reset currentAction in didPerformAction (#5194)
e50f11c - feat(ui): more recorder uis (#5187)
f2ef7f5 - Link patching now picks up multiple in single line (#5163)
321a873 - fix(codegen): add timeout to our actions, catch errors (#5188)
ff6b2b1 - chore: make emulate media params be options (#5172)
52728668 - feat(codegen): prefer frame name over url when unique (#5175)
35baf33 - Revert "docs: update langs fields to include java (#5161)"
d0ab0bd - docs: update langs fields to include java (#5161)
5358fed - chore: fix typo
a4f59dd - devops: upload host arch as part of test report (#5167)
9de0a5a - chore: add Python to docker images (#5139)
90bc837 - devops: start compiling Chromium on Linux (#5166)
0108d2d - feat(snapshots): various improvements (#5152)
a3af082 - feat(trace viewer): Extending existing NetworkTab view (#5009)
f3cc4df - feat(webkit): bump to 1428 (#5140)
45f7d73 - chore: plumb terminal size and port language (#5149)
5033261 - feat(trace): streaming snapshots (#5133)
22fb744 - docs: share proxy documentation, exclude cdp session from java (#5150)
87a3ccc - fix: do not return cookies with empty values (#5147)
2e290be - chore: remove source maps in pwdebug mode (#5148)
fdde949 - fix: don't parse potentially invalid urls in event handlers (#5090)
01d6f83 - chore: introduce debug toolbar (#5145)
894abbf - feat(selectors): has-text pseudo-class (#5120)
77b5f05 - browser(webkit): fix scrollIntoViewIfNeeded (#5146)
d78d337 - feat(fill): make fill work when targeting elements inside the label (#5143)
7d2293c - browser(webkit): roll to 01-25 (#5141)
beed9a7 - feat(chromium): bump to 845618 (#5138)
464fdc1 - chore: make recorder a supplement (#5131)
be9bef5 - chore: move recorder to server side (#5128)
3e4e511 - feat(pause): page._pause to wait for user to click resume (#5050)
a2422a4 - docs: proper webkit version badge on README.md (#5121)
74816e4 - fix(installer): release lock if things go south (#5125)
b7fd0cd - test: disable trace test that always fails (#5124)
8ad7318 - devops: fix publish script to return code zero when tip-of-tree moved (#5123)
680689d - browser(webkit): try to fix Ubuntu 18 build (#5119)
3e1c72a - fix(reload): do not throw when reload is racing with navigation (#5113)
b88afe5 - devops: fix chromium for arm build (#5117)
8e7fc06 - chore: migrate to Folio 0.3.17 (#5115)
71d82a5 - fix(lint): fix type test to work nicely with close param (#5114)
4fbc3c8 - feat(firefox): roll to r1226 (#5109)
a4eb121 - fix: add parameter to close/crash/disconnected etc events (#5098)
018727d - test: add a test for focused input screenshot (#5060)
a9b7536 - feat(logs): add wrapApiCall for logging to many api methods (#5093)
54645409 - devops: attempt to fix chromium-mac-arm64 build (#5107)
2f29c6b - browser(firefox): roll Firefox to beta Jan, 18 2021 (#5106)
a370443 - devops: use repository dispatch to trigger builds for all applications (#5104)
86775f0 - devops: add workflow to trigger Chromium builds once revision changes
2096f42 - devops: fix chromium compilation step (#5102)
ff75073 - devops: automation to compile chromium for mac arm64 (#5101)
13cc0c5 - chore: throttle thumbnail workers, remove video processing (#5097)
a7d33b2 - browser(chromium): roll to 845618 (#5094)
dcf041a - docs: update ci docs to better help Python users (#5095)
7a4b94e - feat(selectors): nth-match selector (#5081)
8f06761 - docs: link to the new docs from source (#5092)
c757ba7 - chore: add storybook dep (#5082)
043ed97 - docs: update limitations to reflect java bindings (#5086)
25bc630 - docs(readme): update links to website
05568f7 - browser(webkit): change scrollIntoView to only scroll if needed (#5079)
4b5c876 - chore: allow opening empty trace viewer (#5080)
16249cc - feat(trace): account for more action types in timeline (#5077)
45c33ae - docs: fix some 1.8 docs nits (#5078)
af6e3a8 - Revert "chore: rework the crlf in md fix"
e003aa5 - chore: remove the .gitattributes entries for md/yml
b5914e0 - chore: rework the crlf in md fix
c6bcaf9 - Revert "chore: fix line endings in some MD files (#5071)"
0d0a6e8 - devops: update publish script to work for @next (#5072)
5bb20fb - chore: fix line endings in some MD files (#5071)
a794917 - devops: always check git status before publishing to npm (#5070)
f10f170 - docs: add file chooser example, remove links to js samples (#5054)
449bcdc - browser(webkit): roll to 01-19 (#5064)
263f164 - feat(trace viewer): improve source tab (#5038)1.8.1
10 Feb 2021Chromium 90.0.4392.0
Mozilla Firefox 85.0b5
WebKit 14.1
Highlights
page.reload()andpage.isVisible()fixes.Browser Versions
Chromium 90.0.4392.0
Mozilla Firefox 85.0b5
WebKit 14.1
Issues Closed (1)
#5111 - [BUG] Frames crashes everything
Commits (3)
970e230 - chore: mark 1.8.1
a6f62f1 - fix(isVisible): do not wait for the selector to be resolved
a1c6ab2 - fix(reload): do not throw when reload is racing with navigation1.8.0
20 Jan 2021Selecting elements based on layout with
:left-of(),:right-of(),:above()and:below()Playwright now includes command line interface, former playwright-cli. Give it a try with
npx playwright --helpDocumentation site now has a lot more content, and a dedicated python section
Highlights
Selecting elements based on layout with
:left-of(),:right-of(),:above()and:below()Playwright now includes command line interface, former playwright-cli. Give it a try with
npx playwright --helpDocumentation site now has a lot more content, and a dedicated python section
selectOption(selector, values[, options])now waits for the options to be presentNew methods to assert element state like
page.isEditable('selector')
Browser Versions
Chromium 90.0.4392.0
Mozilla Firefox 85.0b5
WebKit 14.1
New APIs
New option
'editable'inelementHandle.waitForElementState(state[, options])
Issues Closed (41)
#2816 - [Feature] Performance measurement
#2877 - [Feature] A special locator to visually locate an element
#4552 - I would like browser logs when my test fails for my failing test
#4424 - [Docs] Clarify distinction betweenloggeroption and console logs
#4511 - [REGRESSION]: Memory leak related to route interception
#4549 - playwright.helper.Error: Navigation failed because page crashed!
#4562 - [BUG] Annotate deprecated API methods and properties as such in TS types
#4584 - [BUG] proxies are flaky on webkit + big sur + m1
#4684 - page.url() not getting current url immediately
#4737 - [BUG] page.waitForEvent('dialog') is not working
#4738 - [Question] Running playwright from inside browser.
#4748 - [Internal] Make server error messages consistent and language-agnostic
#4764 - [BUG] [PW 1.7.0] [WebKit] page.waitForSelector: Protocol error (Runtime.evaluate): The page has been closed.
#4774 - [REGRESSION] Custom selectors no longer able to be last in group
#4775 - [Feature] Playwright does not support chromium on mac11.1
#4782 - [Question] Wait for image loaded.
#4788 - [Question]UnhandledPromiseRejectionWarning EVERYTIME
#4789 - [BUG] Firefox does not isolate proxy credentials between contexts
#4799 - [Docs] Broken links on "Running Playwright in Docker" page
#4800 - [BUG] - FileNotFoundError: [Errno 2] No such file or directory:python3.9/site-packages/playwright/driver/playwright-cli'
#4804 - [BUG] waitForSelector doesn't throw
#4805 - [BUG] waitForSelector timeout doesn't apply
#4806 - [Question] Intermittent waitForResponse timeouts when looping
#4808 - [Question] Access browser binaries from node_modules/playwright directory?
#4811 - [BUG]Screenshot quality parameter setting error
#4813 - [BUG] Missing dependencies in Docker image to play video in Webkit.
#4814 - [Question] How does Playwright handle a big list of pages?
#4816 - [Feature] element.isVisible/isClickable/etc
#4818 - [Question] Docs page color is wierd in night mode chrome
#4820 - [BUG] No usable sandbox!
#4822 - [Question] How to disable bringing page to front during launching.
#4823 - [Question] Where can I find default args used by playwright?
#4824 - [Feature] Perform actionability checks manually
#4833 - [BUG]request.postData()output is distorted on webkit
#4847 - [Question] Cannot launch chrome again after close the previous one
#4849 - [Question] page.click() and CSS extension: visible - documentation confusion
#4853 - [Question]How to get the text of an element?
#4856 - [BUG] Possible click element logic issue in combination with detach
#4862 - [Question] How does Playwright communicate with browsers?
#4863 - [Question]Please give an example of Sync dialog, thank you
#4865 - [BUG] Issue with chained selectors -- text selector doesn't workCommits (193)
f10f170 - docs: add file chooser example, remove links to js samples (#5054)
449bcdc - browser(webkit): roll to 01-19 (#5064)
263f164 - feat(trace viewer): improve source tab (#5038)
c567f94 - chore: mark tot as 1.9.0-next (#5059)
d00c5cf - feat(webkit): bump to 1423 (#5057)
615954b - fix(dom): make selectOption wait for options (#5036)
19acf99 - docs: minor updates to selectors.md (#5055)
0586c25 - feat(text selector): normalize whitespace for quoted match (#5049)
9e3bd78 - docs: update selectors doc to be more like a guide (#5048)
9caa8e8 - test: add test for multiple arguments in :has() (#5047)
01fb3a6 - docs: extract handles, screenshots, videos docs (#5045)
0a7b917 - feat(chromium): bump to 844399 (#5044)
d05c091 - chore: roll chromium to 844399 (#5043)
17e953c - chore: make generate_types not depend on the source (#5040)
1fc02e8 - docs: add dialogs and downloads docs (#5042)
2db02c9 - docs(python): update installation docs (#5039)
fdfea2b - browser(webkit): add another missing include to fix mac after roll to 01-15 (#5037)
afaec55 - feat(trace): show dialogs, navigations and misc events (#5025)
e67d563 - docs: don't use lang suffix in the intro url (#5035)
41e394b - docs: allow overriding return types (#5031)
940cf35 - browser(webkit): add missing include on mac after roll to 01-15 (#5033)
0ab6a53 - browser(webkit): roll to 01-15 (#5032)
6e94c11 - docs: prepare docs for tabbed snippets (#5026)
56ba0b3 - docs: brush up some python docs (#5027)
b45905a - feat(trace viewer): small improvements (#5007)
7701176 - docs: allow lang-specific sh snippets (#5024)
de5d671 - chore: restore lockfile v1 (#5023)
19b58d4 - chore: bump chromium to r843427 (#5022)
e85f278 - docs: more python docs and snippets (#5021)
61b0dbb - devops: start downloading firefox arm builds on Apple Silicon. (#5019)
5dcb7bb - docs: declare expect_navigation as returning Response (#5020)
ff20b9d - devops: support frequent minor releases of MacOS BigSur. (#5016)
1648d23 - docs: add python snippets for api classes (follow up) (#5018)
3ed9f2d - chore: disable v1 flakiness dashboard (#5015)
38dac2f - chore: bump electron version to 11 (#4968)
8354a91 - docs: add python snippets for api classes (#5011)
5408e26 - docs: add python snippets for class Page (#5010)
0a999bf - fix(driver): remove path trickery from install command (#5008)
e3ebba5 - chore: cleanup code that is not used by cli anymore (#5005)
7ff86a8 - chore: add publish-driver-release workflow (#5006)
5c3f483 - fix(cli): do not extend injected script on same-document navigations (#5002)
a35617d - chore: bundle proper license file for ffmpeg (#5004)
9a9ac60 - fix: fix the cli tests, generate snake python (#5003)
decf373 - fix(electron): return a ChromiumBrowserContext for electron (#4913)
df53cb2 - docs: fix inline code quoting (#4992)
fcbfbe6 - devops: fix azure function bugs (#4998)
8316dee - devops(flakiness): persist all test reports, aggregated per commit sha (#4991)
29c3432 - fix(cookies): make filtering by url work with subdomains (#4989)
0bf7477 - test(network): add failing test for Set-Cookie in fulfill (#4988)
cac119f - docs: python api review (#4986)
3d25863 - feat(webkit): bump to 1420 (#4980)
d62b661 - docs: rename proximity selectors to position selectors (#4975)
cb6e4a6 - chore: update snippets in python docs (#4976)
7665a6e - devops: support apple silicon builds of Firefox (#4979)
72519196 - fix(connect): provide an error message when ws endpoint is incorrect (#4978)
068ad0f - feat(firefox): roll Firefox to r1225 (#4908)
728846b - fix(launcher): add vcruntime140_1.dll to the list of known deps (#4973)
36650b1 - browser(webkit): fix compile on mac (#4977)
bf64fed - fix(trace viewer): updating default traceStorageDir value (#4962)
56f0120 - browser(webkit): fix mac compilation after roll to 01-11 (#4972)
62c52e8 - browser(webkit): roll to 01-11 (#4971)
5854cad - browser(webkit): fix typo in macro name (#4970)
7a8214c - chore: prepare non-api docs for non-js variants (#4969)
4dbbb47 - docs: document Python's expect_event methods (#4963)
e67d897 - chore: update docs to cover python specifics (#4960)
e990a80 - fix: restore network request title in trace viewer. (#4957)
5a2cfdb - api: add isChecked method (#4953)
3b617b3 - docs: validate member links (#4955)
b7e0b1b - docs: annotate evaluate(pageFunction) js-specific (#4954)
31d980f - chore(webpack): minify injected sources (#4946)
135e034 - feat(cli): small improvements (#4952)
114d586 - chore: add python aliases (#4949)
f0a8729 - chore: remove unused selector engines (#4950)
3f90405 - api: add isVisible, isHidden, isEnabled, isDisabled and isEditable (#4915)
498f9a5 - docs: update authentication guide to use storageState() api (#4948)
d08cbc3 - docs: brush up selector docs (#4939)
97de920 - docs: move links into playwright.dev (#4947)
77bfcd2 - chore: add some Python language snippets (#4933)
07cb5f7 - docs: Added Crystal port to showcase (#4945)
2072c61 - docs: add Java to the list of language ports (#4940)
15c0a29 - docs: split nodejs and python links (#4942)
2e05fea - feat(cli): bring in trace viewer (#4920)
54c06a1 - chore: mark methods as js-only, add python-specific methods (#4938)
e56832b - chore: language-specific members api (#4936)
8d64994 - docs: move Go port to showcase (#4934)
eb9ea20 - feat(selectors): proximity selectors (#4923)
ffa169b - chore: use chokidar for build (#4932)
bdf12e3 - docs: split api-body into classes (#4931)
4cd989c - docs: introduce deprecation annotation and any type (#4930)
913f852 - docs: make all links relative (#4926)
0a2fe62 - fix(extensions): do not enable screencast for background pages (#4919)
8fd34c6 - feat(webkit): bump to 1415 (#4914)
4ff7e1a - chore: cleanup our build system (#4903)
2311c28 - docs: pref docs to be language-specific (#4916)
cc1a79e - browser(webkit): drag and drop on windows (#4889)
f672033 - chore: bundle small build of highlight.js (#4907)
6b3dcb0 - chore: fix randomly crashing build-playwright-driver.sh (#4909)
9bbabaa - test: update screencast test to actually require red color (#4745)
b6cd385 - docs: mark some paths as such (#4896)
2908568 - browser(webkit): install new dependency required for openxr on linux (#4906)
6b94f5f - browser(firefox): roll Firefox to beta @ Jan 5, 2021 (#4904)
a9c776f - chore: watch to regenerate api.json (#4901)
d47fb6a - feat(cli): build driver and upload to cdn (#4841)
b00559b - docs: add save/load storage to cli docs (#4899)
35ecf69 - chore: fix lint (#4898)
5df1c6e - browser(webkit): roll to 01-05 to pick up upstream Win fix (#4894)
0f8d7ec - docs: improve waitForElementState documentation (#4883)
d8187bb - feat(webkit): bump to 1412 (#4886)
4996eac - docs: split numbers into integers and floats (#4887)
849a5b3 - browser(webkit): roll to 01-04 (#4882)
4a89158 - fix(type-generator): make the generated by message consistent on windows (#4888)
80f8a0f - doc: further align docs w/ playwright.dev (3) (#4884)
5215add - chore: remove selectorsV2Enabled switch (#4880)
c4df522 - fix(handles): always create proper handle type (#4879)
31ffeb3 - doc: further align docs w/ playwright.dev (2) (#4871)
3ff81fe - browser(webkit): do run win build again if first attempt failed (#4881)
706c1e4 - chore: use last commit timestamp for @next builds (#4876)
b0b1561 - browser(webkit): kick off next build (#4878)
736ef4e - browser(webkit): call build.sh twice on Windows (#4875)
ae935a4 - doc: further align docs w/ playwright.dev (#4866)
e0e836c - doc: split classes into files (#4864)
ba29137 - docs: generate all docs off docs-src (#4858)
75198f0 - browser(chromium): bump to r839741 (#4857)
a5bd415 - doc: generate class toc as a part of the api generation (#4852)
ded2bc2 - browser(webkit): postpone creation of the first page (#4769)
9817d10 - doc: generator code health (3) (#4850)
6697dad - chore(eslint): add rule no-unused-expressions (#4848)
d08f848 - chore: remove useless statement that was a typo (#4846)
722db85 - doc: generator code health (2) (#4843)
8fbb984 - test: disable most codegen on headful firefox (#4839)
7f8717f - feat(cli): add docs (#4837)
70c14e6 - doc: generator code health (#4840)
a1232b6 - chore: simplify and remove some scripts (#4838)
068d861 - feat(cli): make run-driver work (#4836)
293a7bd - feat(cli): bring in codegen and tests (#4815)
4c11f5d - test: remove hacky requires, use imports instead (#4835)
94077e0 - chore: remove JS types checker, rely on typescript (#4831)
a446792 - docs: generate api.md off documentation model (#4832)
fee7dd7 - chore: nit type validator fix (#4830)
905f28c - feat(types): simplify android and electron types (#4829)
34c1b33 - feat(types): make our client classes implement public types (#4817)
dc25173 - chore(docs): fix crlf (#4828)
2cb5770 - docs: move playwright module into api-body.md (#4827)
15cdfd1 - chore: generate types, api.json off md rather than html (#4825)
9dd982c - chore: commit generated types to the repository (#4826)
277d255 - chore: brush up md processing (#4819)
225e65e - feat(cli): share console api between cli and debug mode (#4807)
f709e23 - feat(cli): bring selector generator into playwright (#4795)
8d4c46a - fix: throw if quality=0 is passed for png screenshot (#4812)
e7ee426 - yury comments (#4639)
eb50baf - browser(firefox): bump to 1224 (#4809)
d40afa2 - feat(cli): first few cli commands (#4773)
cc32217 - chore: fix check-deps (#4801)
a7f4c69 - docs: fix browser version generation script (#4797)
ff2a1f1 - fix(webkit): properly detect arm64 on apple silicon (#4783)
73edf13 - browser(webkit): roll to 12-21 (#4794)
afaf13a - docs: add missing GEN:webkit-version (#4770)
b3e7838 - browser(firefox): clear AuthCache when setting context proxy (#4793)
3eef254 - test: failing test for firefox per-context proxy credentials (#4790)
779c5ff - chore(installer): remove stale backlinks silently (#4786)
7bbda43 - chore: improve error reporting when browse download fails (#4787)
94ee48f - fix: allow proxy credentials with empty password (#4779)
ee41779 - chore: roll FFMPEG to r1004 (#4760)
fc30c29 - test: add a test for custom engine that does not respect root (#4777)
2e220df - docs: explicitly annotate methods and parameters (#4771)
c81ec9c - test: fixed failing test on video bot (#4747)
d498b45 - docs: remove mentions of nodejs, promises and resolves (#4768)
761bd78 - browser(firefox): fix build on MacOS (#4758)
b56dd7d - devops: kick ffmpeg build (#4757)
774eb53 - fix(adb): force page scale factor update on connection (#4755)
a721ba5 - devops: give unique names to test shards (#4756)
3219057 - fix(webkit): support utf-8 characters in postData, bump to 1407 (#4744)
5a1c9f1 - fix(selector): bring back v1 query logic (#4754)
9a0023c - fix(selectors): text engine after capture matches scope (#4749)
35533b1 - fix(scroll): scroll from under the sticky header (#4641)
e4658ea - browser(webkit): base64 encode request.postData (#4743)
7385b31 - fix(driver): stop sending protocol messages after disconnect (#4688)
94f5002 - browser(webkit): install patchelf (required by generate-bundle) (#4741)
b014fa1 - browser(webkit): roll to 12-16 (#4739)
23a6e4d - chore: restructure and optimise test files (#4736)
50b0b47 - browser(webkit): mac build fix after roll to 12-15 (#4733)
2c409b0 - fix(android): leaking adb socket connections (#4730)
0af34a4 - devops: firefox build now requires newer MacOS SDK to build against (#4732)
97be66b - fix(adb): enable newPage in mobile browser (#4728)
eecb798 - browser(webkit): roll to 12-15 (#4727)
69476a8 - chore: add support for macOS Big Sur 11.1 (#4724)
e02c544 - chore(adb): make driver smaller (#4713)
b09e0d0 - fix(launchdoctor): make launch doctor to warn on Win7 (#4718)
355a58e - feat(storage): accept path in save/load storage apis (#4714)
5f6ccee - browser(firefox): roll Firefox to beta Dec 14, 2020 (#4716)
0b8f34e - docs: rename aggregate parameter objects to params (#4715)
ab63063 - fix(tracing): store relative video path in the trace (#4710)
e91eee8 - chore: cut v1.7.0 (#4705)1.7.1
22 Dec 2020Chromium 89.0.4344.0
Mozilla Firefox 84.0b9
WebKit 14.1
Highlights
Selectors and arm64 bugfixes.
Browser Versions
Chromium 89.0.4344.0
Mozilla Firefox 84.0b9
WebKit 14.1
Issues Closed (2)
#4742 - [REGRESSION]: css/xpath selector engines don't work when chained with >>
#4774 - [REGRESSION] Custom selectors no longer able to be last in groupCommits (4)
bbb411a - cherrypick(release-1.7): fix(webkit): properly detect arm64 on apple silicon (#4796)
883ed59 - chore: mark v1.7.1 (#4792)
64c8639 - cherrypick(release-1.7): fix(selector): bring back v1 query logic (#4791)
29568e8 - fix(selectors): text engine after capture matches scope (#4749)1.7.0
15 Dec 2020New Java SDK: Playwright for Java is now on par with JavaScript, Python and C# bindings.
Browser storage API: New convenience APIs to save and load browser storage state (cookies, local storage) to simplify automation scenarios with authentication.
New CSS selectors: We heard your feedback for more flexible selectors and have revamped the selectors implementation. Playwright 1.7 introduces new CSS extensions and there's more coming soon.
Highlights
New Java SDK: Playwright for Java is now on par with JavaScript, Python and C# bindings.
Browser storage API: New convenience APIs to save and load browser storage state (cookies, local storage) to simplify automation scenarios with authentication.
New CSS selectors: We heard your feedback for more flexible selectors and have revamped the selectors implementation. Playwright 1.7 introduces new CSS extensions and there's more coming soon.
New website: The docs website at playwright.dev has been updated and is now built with Docusaurus.
Support for Apple Silicon: Playwright browser binaries for WebKit and Chromium are now built for Apple Silicon.
Browser Versions
Chromium 89.0.4344.0
Mozilla Firefox 84.0b9
WebKit 14.1
New APIs
New method [
browserContext.storageState()] to get current state for later reusestorageStateoption inbrowser.newContext()andbrowser.newPage()to setup browser context state
Issues Closed (56)
#647 - Other Browsers
#1129 - [Feature] Browser context serialization to support local storage
#1677 - [Internal] Run applicable tests for iframes and oopifs
#1960 - [BUG] Playwright in Storybook
#2274 - [Bug] running tests in parallel in Docker lead to page crashes
#2352 - [BUG] page.emulateMedia colorScheme has no effect in firefox without reload
#2360 - [BUG] Checkbox wont check unless force parameter is passed on
#2409 - [BUG] UnhandledPromiseRejectionWarning: Error: by Firefox and web kit.
#2415 - [BUG] Serviceworker shows wrong request.referrer in Playwright
#2425 - [Feature] Support Socks5 with auth
#2426 - [Question] How can we touch a button on screen ?
#2646 - [Question] Ci/Cd using AWS Codebuild/Codepipeline
#2698 - [BUG] Chromium headless on Windows does not launch without --disable-gpu
#2748 - [BUG] Chromium fails to connect in CI most of the times
#2761 - Playwright API v1: shortcomings
#2768 - [BUG] Click doesn't work properly if page is zoomed in
#3148 - [Question] Issue with launching Chromium in headful mode
#3152 - [BUG] Firefox multi page screenshots and focus ring
#3244 - [Question] Allow Multiple Downloads Notification
#3261 - [BUG] State of WebKit video codecs
#3284 - [BUG] MS Edge Chromium crashes on closing in headless mode
#3318 - [Feature] SSR on playwright.dev
#3337 - [REGRESSION]: NS_ERROR_FILE_ALREADY_EXISTS with Firefox sporadically
#3347 - [Feature] CSS.forcePseudoState
#3498 - [Question] How to manually download file (donwload dialog) ?
#3509 - [Question] Is it possible to set AlwaysOpenPdfExternally
#3552 - [Question] First-class test runner support
#3726 - [BUG] Playwright-core - page.waitForEvent: Timeout 30000ms exceeded
#3871 - [BUG] Always failed in CircleCI
#3901 - [Feature] APIs for getting values from the page
#3990 - [BUG] AvailWidth/Height
#4037 - [BUG] Edge does not report request payload
#4075 - [Question] Run headless Firefox with non-default executable path
#4112 - [Feature] pass args to new context
#4117 - I am trying to use a proxy in Webkit and when I redirect once it loses the proxy. What am I doing wrong?
#4124 - [BUG] page.click() is inconsistent in large webapp
#4203 - [BUG] Using a typescript version thats too old gives a bad error message
#4235 - [Question] How to fight web app (Salesforce) pausing due to window/tab not in focus
#4242 - [BUG] Helpful error message for lockfile
#4254 - [Question] Will node js be updated to 14 lts in docker image?
#4269 - [Feature] Export credential
#4297 - [BUG] Twitter timeout error on firefox
#4320 - [DevOps] GitHub Dependency graph does not work
#4345 - [Bug] Initial browser launch time inconsistent
#4381 - [Question] Is there an API endpoint to get the binary download URLs?
#4398 - [Question] wait until all of elements appear
#4432 - [Question] - Firefox.launch.Process failed to launch! No space left on device.
#4433 - [Types] Page.waitForResponse() urlOrPredicate use typed function
#4439 - [REGRESSION]: self signed certificate in certificate chain -> Error with installation
#4445 - [BUG] Unknown scheme for WebSocket.listenerCount
#4461 - [BUG] Error when using PM2 process manager in cluster mode
#4465 - [BUG] MS Edge Chromium cannot end msedge.exe processes in HEAD mode
#4467 - [BUG] Can't connect to running browserServer from another process
#4472 - [BUG] Crash when opening a new tab from UI
#4486 - [Question] chromium with head
#4487 - [BUG] Playwright not intercepting fetch requests in WebWorkerCommits (193)
e91eee8 - chore: cut v1.7.0 (#4705)
e6c206e - chore: update PrintDeps.exe to r1004 (#4709)
c5bb08c - docs: remove outdated troubleshooting (#4706)
8d574a7 - docs: update docker readme
4799e8f - feat(adb): add screenshot (#4701)
1596b53 - test(adb): fix browser tests (#4700)
f89dcc7 - feat(adb): implement push (#4697)
b8112de - devops: fix Android tests on GHA (#4698)
f4eff4d - devops: add bot to test Android (#4693)
67f92be - chore(deps): bump ini from 1.3.5 to 1.3.8 (#4692)
844b2c8 - chore(adb): lint the driver (#4696)
ad5309c - feat(adb): make shell return binary (#4695)
7c89ec0 - feat(adb): expose a11y tree (#4694)
1b7fb7d - feat(android): expose installAPK(path) and ADB socket (#4689)
6cc695d - test(adb): fix the adb tests (#4691)
2ba60e9 - test(adb): add some adb tests (#4679)
aa1b546 - chore(android): respect timeout, add build script (#4690)
f20518f - fix(har): do not complain about a lot of listeners (#4675)
765b077 - feat: start downloading arm64 Chromium builds (#4681)
616df7d - fix(adb): minor fixes (#4678)
495085c - fix(chromium): make interception work with dedicated workers (#4658)
b9c9597 - feat(selectors): optimize old->new conversion for css (#4672)
e97ab7e - test: unflake some web socket tests (#4673)
12dc04a - feat(selectors): optimize old->new selectors conversion for text (#4671)
c8e9b05 - feat(selectors): disable proximity selectors (#4659)
84ff20f - test: fix test server on Node 15 (#4668)
b486e84 - devops: revert ability to skip architecture enforcement (#4667)
4f3f626 - chore: add dummy package.json's for GH dependents analysis (#4666)
8fc49c9 - feat(adb): support webviews (#4657)
f939fdc - feat(firefox): bump to 1221 (#4656)
b67e022 - feat(selectors): update new text selector (#4654)
aacd8e6 - chore: expose adb devices and actions (#4647)
ab44d68 - feat(selectors): remove index for now, add documentation (#4640)
1d90d7a - feat: fix browser installation on mac 11.0-arm64 (#4652)
e0a02c3 - feat(webkit): bump to 1402 (#4651)
bc0af57 - feat: support download of native WebKit build for Apple M1 (#4648)
add7ce7 - devops: fix buildbot mac m1 name
c36af73 - devops: add old-fashioned scripts to run Mac M1 buildbot (#4649)
93c362d - devops: fix architecture enforcement (#4645)
6d3278f - devops: add ability to skip architecture enforcement (#4644)
dd9c312 - devops: start producing WebKit builds for Apple Silicon (#4643)
64a2940 - devops: fix webkit archiving (#4642)
17f1b20 - devops: trigger all builds with new windows buildbot (#4638)
6c4d3b8 - chore(docker): put browser deps instructions first (#4637)
c1dcef3 - devops(windows): fix vswhere location (#4636)
99b98d6 - browser(webkit): do not spam stderr with screencast debug logs (#4635)
1060fce - feat(selectors): explicit list of custom functions (#4629)
be16ce4 - feat(errors): append recent browser logs when browser disconnects (#4625)
e1e000d - browser(firefox): do not spam stderr with screencast logs (#4630)
ea833da - chore: fix internal binding (#4598)
1e754a4 - feat(selectors): proximity selectors (#4614)
c36f5fa - feat(chromium): roll to 833159 (#4626)
18b565a - feat(selectors): correctly work in large DOM (#4628)
73982834 - devops: absolute paths for webkit libraries and output directory (#4627)
20201310 - feat(firefox): roll Firefox to r1218 (#4620)
e8dcd87 - browser(chromium): build 833159 (#4623)
e75ebc1 - browser(firefox): roll Firefox to Dec, 7 2020 (#4622)
4be41f2 - browser(webkit): build fix, switch to the new download API (#4621)
d8520f0 - devops: fix webkit building on windows (#4618)
13e2ef1 - devops: suppport WK_CHECKOUT_PATH variable (#4617)
71b7b48 - chore: use Node.js 14 (new LTS) in Docker image (#4262)
1e0ab79 - feat(selectors): add visible and index engines (#4595)
a3a31bc - doc: add the mobile.md doc (#4612)
1717cbd - doc: describe return value as a part of method (#4608)
cdd9fd6 - test(click): add a failing test for click w/ scroll (#4606)
6fe7d9c - devops: support FF_CHECKOUT_PATH to customize browser checkout (#4607)
96a1f79 - docs: reformat api-body to allow multiline params documentation (#4604)
b6eb8e0 - browser(webkit): fix mac build (#4605)
8218a71 - feat(selectors): add more tests for css selectors (#4596)
cdbc96a - browser(webkit): roll to 12-04 (#4601)
aed3d14 - test: unflake "should not result in unhandled rejection" (#4602)
bf7dff8 - chore: remove the --only-update-browsers option
20c17d5 - chore: fix the doclint tests
7dc386f - browser(webkit): produce xcode 12.2 build on Mac 10.15 (#4599)
150d778 - docs: disambiguate events (#4597)
8551fff - browser(firefox): disable cross-process navigation (#4594)
761b78e - docs: generate links based on the method names (#4593)
49a3f94 - feat(selectors): switch to the new engine (#4589)
7213794 - Correct typo in "emulateMedia" call example. (#4592)
2452d07 - docs: generate method signatures in docs (#4590)
0eb6f85 - docs: pretty-print api.md (#4588)
5d47a97 - docs: reformat template parameters (#4587)
016925c - feat(selectors): implement builtin selectors in new evaluator (#4579)
3121de4 - test: remove tests for SelectorEngine.create (#4580)
7e30669 - fix(binding): catch binding resolution against the closed page (#4583)
5002b83 - test(focus): add a failing focus test (#4581)
5a53741 - fix(lint): property waitForResponse type (#4582)
bc70162 - fix(doclint): exit 1 when doclint throws an error (#4572)
d2b7e0d - fix(types): add typed cb for Page.waitForResponse (#4575)
95c502d - docs: use templates to reuse documentation properties (#4578)
31e22de - devops(win): fix paths to vswhere.exe in 64-bit shells (#4577)
3d6194e - feat(selectors): introduce css evaluator (#4573)
52ae218 - fix(fill): allow filling more input types (#4563)
1fa7e86 - docs: generate api.md (#4576)
f5c8e1d - link: make lint happy
3624e3e - chore: add internal method for utility context bindings (#4566)
1ca30fe - chore: force lo dpi recording on non-mac (#4557)
a45532f - feat(selectors): update css parser (#4565)
3846d05 - feat(firefox): bump to 1217 (#4560)
9c677f6 - feat(webkit): roll webkit to r1395 (#4550)
e8419f8 - browser(firefox): support alertCheck and confirmCheck dialogs (#4553)
e98aceb - feat(selectors): introduce css parser (#4522)
84dc441 - feat(trace): record traces when PW_TRACE_DIR is set (#4545)
d116787 - fix(lint): update check_deps for src/remote (#4547)
512516c - browser(webkit): retore changes from #4539 (#4544)
8f70c95 - browser(webkit): roll to 11-30 (#4541)
730f6f8 - browser(firefox): roll Firefox to beta Nov 30, 2020 (#4542)
d104591 - devops(flakiness): azure function to store dashboard in a new format (#4540)
d96330b - browser(webkit): override availWidth with screen width (#4539)
884edbb - fix(channels): only send protocol methods to connection (#4493)
7d90f5e - feat(firefox): roll Firefox to r1215 (#4526)
8cc8b77 - docs: fix auth example (#4528)
62f7437 - test: remove the flaky test we are not going to fix (#4527)
51865fe - chore: bump WebKit build number to test self-hosted runners (#4525)
bab16a5 - devops: remove self-hosted runners (#4524)
d06afad - browser(firefox): send dragend after drop and survive navigations (#4506)
c6d5bc3 - test(drag): more tests for drag and drop (#4508)
60103229 - test: unflake some chromium tests (#4521)
566c57e - fix(lint): remove unused import in resource-timing.spec.ts (#4520)
5976e5d - feat(firefox): roll Firefox to r1213 (#4514)
2486a4f - chore: fix lint after #4517 (#4518)
062ec7e - test: enable resource-timing test on BigSur (#4517)
f916c98 - chore: update WebKit version to 14.1 (#4515)
17bec4f - browser(firefox): rebaseline atop of Nov, 23 2020 (#4516)
e9060dd - fix(launchServer): wait for the server to start before taking its address (#4513)
4f4a7ce - test: add test for network interception in web workers (#4490)
06e0aa4 - devops: add source code for flakiness dashboard (#4479)
e72d9a4 - chore: add websocket connection mode (#4510)
14a96ca - browser(firefox): ensure detachedFromTarget is always sent (#4505)
a058794 - feat(chromium): roll to r828656 (#4503)
aea106b - chore: simplify server screencast code (#4501)
5e6eed0 - fix(frames): do not start network idle timer after detach (#4502)
240d51f - docs: improve boundingBox documentation (#4500)
2d16953 - devops: start Chromium mirroring from GHA (#4492)
95aab3b - browser(chromium): prepare r828656 (#4499)
de43de7 - test: make test not depend on line endings (#4497)
09f9a35 - fix(protocol): rename websocket error event to socketerror (#4495)
1278c25 - feat(webkit): roll to 1391 (#4494)
6bc45d9 - browser(firefox): browser.version() to return full version (#4491)
1169c5a - browser(webkit): close on pipe disconnect (#4484)
b064f93 - feat(webkit): bump to 1390 (#4483)
ce42351 - test(route): test that intercepted XHR is actually paused (#4482)
a11be3e - browser(webkit): roll to 11-18 (#4481)
e2d4379 - devops: use proper tags for self-hosted runner (#4480)
33a168e - devops: build firefox on self-hosted ubuntu 18.04 runner (#4478)
cb1f2a3 - browser(firefox): roll Firefox to Nov 17,2020 (#4477)
8860d6d - chore: try building webkit on github selfhosted runner (#4476)
05bb149 - devops: teach self-hosted runner to install dependencies (#4475)
80446aa - devops: use labels instead of self-hosted runner name (#4474)
497a99d - devops: try building webkit on a self-hosted ubuntu 18.04 runner (#4473)
f9a407f - devops: remove bigsur buildbot (#4457)
a877c24 - fix(route): throw on attempt to fulfill with redirect in WebKit (#4449)
cb21d5d - feat(chromium): roll to 827767 (#4471)
38fadca - fix(chromium): use frameDetached reason (#4468)
c1a5cd5 - fix(docs): remove extra code in timing docs (#4466)
ab4a627 - feat(webkit): roll to r1388 (#4464)
1f5b752 - feat(chromium): roll to r827102 (#4462)
bbe755c - feat(firefox): bump to 1210 (#4459)
fc03888 - browser(chromium): pick 827102 for roll (#4460)
93b6fae - test(chromium): disable webgl2 on headful (#4450)
79c592e - browser(webkit): do not create unique page groups for pages (#4456)
5509e98 - browser(webkit): fix mac build after latest roll (#4455)
b9ac9df - fix: prevent memory leak when collecting logs from injected script poll (#4448)
39fcf1b - browser(firefox): do not leak reponses (#4453)
bd76e9d - browser(webkit): roll to 11-16 (#4451)
2f73a45 - browser(chromium): roll to 827767 (#4452)
e91140e - browser(firefox): force a layout before dispatching a tap (#4428)
31bebc7 - fix(close): allow errors when closing all pages of a context (#4324)
3da1f73 - test(chromium): disable large screenshot test (#4446)
0ae455f - test(tap): unflake chromium headful tap tests (#4431)
dfe3552 - feat(route): support URL overrides in continue (#4438)
dd3d493 - fix(lock): nicer lockfile error (#4396)
732e83f - feat(webkit): bump to 1385 (#4430)
914c6ee - feat(firefox): bump to 1206 (#4425)
0167f8c - browser(firefox): allow to override request url (#4436)
2e65f78 - browser(firefox): close browser when pipe disconnects (#4437)
9404d2a - fix(debug): do not generate source urls for anonymous scripts (#3691)
d20e56e - feat(state): allow getting / setting context state (#4412)
a35d207 - test: fix resource timing for bigsur test (#4419)
e69315f - fix(websocket): remove "skip frames" logic (#4435)
cd18ddb - test: add a test for numerical id selector (#4429)
9e1b26f - browser(webkit): close on pipe disconnect (#4421)
b0d174f - revert: lifecycle refactoring, it breaks setContent (#4420)
5d47214 - chore: register frameless listeners separately (#4407)
bd7507e - chore: unify new page handling across vendors (#4411)
2bfee8d - chore: fix publishing @next from release branch (#4418)
8f72861 - browser(webkit): roll to 11-12 (#4417)
8488c29 - browser(firefox): allow to override content-type along with post data (#4416)
eee82a7 - fix(oopif): store child frame id between frameDetached and attachedToTarget (#4410)
52147b3 - devops: fix flakiness upload on windows (#4415)
d8837a8 - fix(docs): add tap to actionability (#4413)
5702eca - fix(selectors): make selectOptions work for labels (#4402)
138680f - fix(launchServer): stream protocol logs into options.logger (#4403)1.6.2
17 Nov 2020Chromium 88.0.4324.0
Mozilla Firefox 83.0b8
WebKit 14.0
Highlights
Minor bugfixes.
Browser Versions
Chromium 88.0.4324.0
Mozilla Firefox 83.0b8
WebKit 14.0
Commits (4)
691c38b - feat(chromium): roll to r827102 (#4462)
a6474d5 - chore: register frameless listeners separately (#4407)
d8d4f83 - chore: mark v1.6.2
dcb1798 - fix(websocket): remove "skip frames" logic (#4435)1.6.0
12 Nov 2020Use
page.tap()to automate native tap events. Like other input events, taps auto-wait for the UI element and actionability checks.WebSocket inspection: Use [
page.on('websocket')] and the new [WebSocket] class to inspect WebSocket connections.HAR export: Capture and export all the network activity as a HAR file. Pass
recordHarwhile creating new browser contexts.
Highlights
Touch
Use
page.tap()to automate native tap events. Like other input events, taps auto-wait for the UI element and actionability checks.
Network
WebSocket inspection: Use [
page.on('websocket')] and the new [WebSocket] class to inspect WebSocket connections.HAR export: Capture and export all the network activity as a HAR file. Pass
recordHarwhile creating new browser contexts.Resource timing: Use [
request.timing()] to retrieve and analyze timing data for the network requests.Proxy for browser context: Network proxy settings can now be configured per browser contexts with the
proxyoption on the new context.
Playwright CLI
CLI codegen can now generate C# code. Run
npx playwright-cli codegen --target=csharpto try!
Browser Versions
Chromium 88.0.4316.0
Mozilla Firefox 83.0b8
WebKit 14.0
New APIs
New class [WebSocket]
New option
proxyin [browser.newContext()] and [browser.newPage()]New option
recordHarin [browser.newContext()] and [browser.newPage()]New option
recordVideoin [browser.newContext()] and [browser.newPage()]New [
page.on('websocket')] eventNew [
page.tap()] methodNew [
elementHandle.tap()] methodNew [
page.touchscreen] namespace to access [Touchscreen]New [
request.timing()] method
Issues Closed (39)
#1655 - [Feature] Custom methods on
Page
#2515 - [Feature] networkidle for "idle after action"
#2695 - [Feature] WebSockets supports
#2946 - Not able to detect browser event: disconnected event when close browser is invoked
#2974 - [BUG] Unable to adopt element handle from a different document
#3122 - [QUESTION] Chromium versions are mismatched in docker, leading to launch failures
#3206 - [Feature] Export network as HAR
#3466 - [Feature] Fill input field based on label text
#3476 - [BUG] Firefox focus won't work with more than 1 page
#3499 - [BUG] Playwright does not see iframe element as visible
#3534 - [Feature] Allow set proxy per context
#3693 - [BUG] RPC/Firefox goBack does not return a response (guid)
#3830 - [Feature] Text selector engine normalise whitespaces
#4002 - [BUG] page.waitForSelector fails when called during a redirect
#4021 - [BUG] beforeunload event in headless mode is failing
#4038 - [REGRESSION]: Tall screenshots in chromium get corrupted at bottom
#4134 - [BUG] elementHandle.scrollIntoViewIfNeeded doesn't work properly
#4179 - [BUG] Unable to close page when confirm dialog is open
#4208 - [BUG] Timout Error on firefox for popup
#4232 - [BUG] Group videoPath and videoSize under recordVideo option
#4233 - [BUG] download file not occurs
#4255 - [Question]: Exposing common Playwright types
#4256 - [Question] playwright-electron types might be missing from the release or is there any guide on how to get it to work?
#4265 - [Feature] Multiple text selectors
#4266 - [Question] Exported video quality
#4268 - [Question] Does puppeteer have Redhat Dockerfile support?
#4277 - [BUG] Firefox workers cause frame navigation
#4279 - How to Compare two screenshots? Need code [Question]
#4282 - [Question] is there a way to get element background colour ?
#4284 - [BUG] page.addInitScript doesn't work for large scripts
#4285 - Running WebKit on AWS EC2 Instance [Question]
#4286 - [Question] CDP sessions with other targets
#4293 - [BUG] Bundle dlls with Firefox for Windows
#4302 - [Question] What is the best way to scroll page to the bottom?
#4317 - [Question] drag and drop
#4318 - [Question] Query by text with space
#4319 - [Question] Have the browsers that are downloaded for playwright 1.3.0 changed somehow ?
#4321 - [Feature] pass arguments like proxy to each context not to whole browser
#4326 - [Test] Ubuntu: browsercontext-proxy.spec.ts:128:1 › should exclude patterns crashes webkitCommits (164)
2158d6d - feat(scopes): make page a scope (#4385)
58b5872 - feat(webkit): bump to 1383 (#4394)
508be0d - browser(webkit): fix big sur crashes after latest roll (#4391)
c2db837 - feat(webkit): roll to r1381 (#4388)
775be21 - fix(launchdoctor): fix launch doctor (#4387)
488b256 - feat(firefox): bump to 1205 (#4386)
bd75fb1 - browser(webkit): roll to 11-09 (#4384)
ae738c1 - browser(firefox): ignore WebProgress events coming from workers (#4380)
f7eb845 - feat(firefox): bump to 1204, add a better test for video in popup (#4376)
28f6547 - chore: add adb-based connectivity (#4375)
06c8881 - browser(firefox): fix videoSessionId (#4374)
3db8b23 - fix(chromium): lifecycle events race (#4369)
c83ac44 - api(websocket): do not send websocket frames without a listener (#4361)
d74988e - feat(webkit): bump to 1380 (#4368)
d4fb159 - browser(webkit): fix webcontent startup crash on macos 11 (#4370)
fff36a7 - feat(firefox): roll Firefox to r1203 (#4365)
c522a0d - browser(firefox): force always active docshell (#4363)
49e4d9a - browser(webkit): force rebuild with new redistributable dlls (#4364)
354482d - feat(firefox): bump to 1202 (#4362)
040f9b0 - browser(webkit): copy MS VC++ redistributable libs from VS installation (#4360)
5faf6f9 - feat(firefox): switch to use pipe instead of websocket (#3279)
aafcf93 - browser(firefox): bundle VS C++ redistributable dlls (#4359)
bc20bfd - browser(webkit): disable cache compiled sandbox (#4357)
c384313 - feat(fill): allow filling based on the label selector (#4342)
5d39eae - devops: actually export secrets into webkit building workflow (#4354)
db8332b - devops: checkout, build, and upload webkit-mac-11 (#4353)
b94a7c0 - devops: speedup initial browser checkout (#4352)
bba8c98 - devops: try building webkit on gha (#4351)
4d8ef42 - devops: add instructions to build mac on BigSur (#4350)
3f37d85 - test(focus): add passing test for focusing more than one page (#4347)
e942138 - fix: do not report errored pages after context closure (#4346)
4cb5214 - test(capabilities): add tests for webgl (#4343)
283bc2c - devops: ensure that embedder directory does not exist (#4340)
65009dc - feat(chromium): roll Chromium to r823944 (#4341)
14a8292 - feat(webkit): bump to 1378 (#4338)
12afb79 - test: unflake har tests (#4335)
5dc632b - chore: mirror Chromium 823944 to our cdn (#4339)
78b1511 - test: try to unflake screenshot tests (#4334)
5c1149f - test: try to unflake network idle tests (#4333)
890add9 - browser(webkit): do not hang on close when there is a dialog (#4332)
bc97650 - feat(firefox): roll Firefox to r1201 (#4331)
031f0bf - browser(webkit): fix mac build failure caused by touch events (#4330)
c6b4263 - browser(webkit): fix timezone overrides after last roll (#4329)
799604c - browser(firefox): roll Firefox to beta @ Nov, 3 (#4327)
eae3d93 - browser(webkit): fix proxy ignore pattern set on context level (#4328)
0a9fdc4 - browser(webkit): roll to 11-03 (#4325)
d57b439 - fix(har): support har in persistent context (#4322)
924cc98 - feat(text selector): normalize spaces in lax mode (#4312)
8fed0b3 - feat(firefox): roll Firefox to r1200 (#4316)
1c39689 - api(videos): introduce a single recordVideo option bag (#4309)
46e124a - fix(api.json): use separate maps for methods and events (#4310)
51f8f23 - devops(flakiness): collect more commit information (#4315)
e3b12b0 - browser(firefox): fix closing browser contexts with beforeunload (#4314)
3d3ce13 - test: co-locate beforeunload tests (#4313)
2b495c9 - browser(firefox): fix SimpleChannel to await initialization (#4311)
f80f815 - feat(chromium): bump to 823078 (#4308)
ac8ab1e - feat(websocket): add WebSocket.waitForEvent and isClosed (#4301)
c446bf6 - chore: cleanup some har code (#4306)
d117d0b - feat(scopes): make page a scope (#4300)
12552890 - browser(chromium): roll to 823078 (#4307)
9c80cbd - fix(docs): small docs changes for new apis (#4305)
94cb7c9 - feat(webkit): bump to 1373 (#4299)
7ef1533 - browser(webkit): one more mac build fix after last roll (#4298)
3577e63 - browser(webkit): mac build fix after last roll (#4296)
5a9ba55 - test: remove stale describe
c9fa8c0 - fix(test): unflake web socket test on firefox
5e50fe3 - browser(webkit): roll to 10-30 (#4294)
7fbbd18 - feat(firefox): support WebSockets on Firefox (#4289)
333916a - infra: bump to next version on trunk at a branch point (#4288)
18c3efe - browser(firefox): instrument websockets (#4287)
914f637 - feat(proxy): enable per-context http proxy (#4280)
ff7d6a2 - feat(firefox): roll Firefox to r1197 (#4278)
aee9068 - test: mark flake headful chromium test as fixme (#4276)
f384a86 - test(har): uncomment some raw header tests (#4273)
efdb154 - test: roll folio to 0.3.16 (#4275)
c5d3490 - browser(firefox): roll firefox to beta Oct, 28 (#4274)
7bedbb2 - feat(browser): roll WebKit to r1370 (#4257)
ece84ec - fix(protocol): annotate file buffer as binary (#4272)
05278b8 - chore: remove committed types.d.ts - we are still generating it at build time (#4271)
41d514d - browser(webkit): disable gamepad on GTK (#4264)
6cafdc5 - infra: fix the headful bit on the bots (#4261)
05fd572 - docs(api): remove * from permissions (#4260)
0b8c33e - fix(ECONRESET): fix it once and for all (#4258)
dcbdb4a - test: fixed executable path test if ran in Docker (#4219)
1ef090c - fix(screenshot): prioritize passed type over the extension mime (#4251)
e62f27a - chore: eliminate dead code (#4253)
aa219c6 - chore: roll folio to v0.3.15 (#4252)
be84284 - feat(websocket): implement Web Sockets for Chromium & WebKit (#4234)
00d6313 - browser(webkit): report raw request headers from didReceiveResponse (#4250)
b08d3dc - devops: always ensure linux deps when building webkit (#4249)
39637a4 - browser(webkit): build fix (#4247)
163cf1b - devops: collect test reports for all bots (#4246)
1feb041 - browser(webkit): fix mac build after last roll (#4245)
c1a64ee - browser(webkit): serialize set-cookie \n-separated (#4243)
86e1e3f - devops: collect host os name and version (#4244)
7fc4b79 - feat(har): allow saving har for context (#4214)
d5fbe3a - devops: start uploading test reports to flakiness dashboard (#4239)
4b2a29e - browser(webkit): roll to 10-26 (#4241)
ccf68ec - chore: roll folio to 0.3.14 (#4240)
f5fbea9 - feat(debug): allow using timeout for rafs for throttling debugging
0337928 - fix(env): respect =true/false as env values for boolean flags (#4228)
ba79493 - chore: roll folio to 0.3.13 (#4215)
14f069e - test(timing): relax mac/webkit expectations (#4217)
b3b46db - test(firefox): add a failing slow test (#4216)
ea910a4 - fix: updategetFromEnvlogic to validate that value is undefined (instead of falsey) before redefining it (#4226)
c97af3e - fix(listeners): avoid "too many listeners" problem safely (#4223)
50a6ba7 - feat: bump webkit version to include screencast fixes (#4200)
c4fbc64 - Revert "fix(listeners): avoid "too many listeners" problem (#3931)" (#4222)
8f3c0d5 - fix(docker): add pwuser to Docker focal image (#4201)
72320275 - fix(headers): report raw request headers on Chromium (#4207)
8a42cda - feat(timing): introduce resource timing (#4204)
bed304b - doc: update playwright-sharp link (#4202)
437fe17 - browser(firefox): expose resource timing info (#4205)
7d28dfd - feat(firefox): roll Firefox to r1194 (#4183)
06cafff - feat(winldd): upload r1003 build (#4199)
45bb984 - test: skip 'should play video' on macOS Big Sur (#4198)
920ea85 - fix(winldd): make linker set checksum to make antiviruses happy (#4197)
092c990 - browser(firefox): fix screencast timescale precision (#4196)
54e05ac - browser(webkit): fix screencast timescale precision (#4195)
3cceb14 - test(beforeunload): add failing beforeunload test (#4188)
7433ae2 - test: follow up to an encoding test (#4187)
7f76d44 - test: add a test for page.close w/ dialogs (#4184)
5e7eb7a - test(encoding): add a test for main resource raw body (#4186)
efac743 - test(proxy): add a test for a second page against same proxy (#4185)
9c160f2 - feat(webkit): bump to 1363 (#4178)
5d997ed - fix(video): make video path available in persistent profiles (#4182)
bf491f1 - browser(webkit): fix pointer media query on windows (#4176)
92dda69 - feat: tap (#4097)
ebf207b - chore: add support for macOS Big Sur (11.0) (#4149)
92cde6c - browser(webkit): roll to 10-19 (#4177)
86ef956 - feat(webkit): bump to 1357 (#4154)
347dd24 - browser(webkit): fix pointer media query on mac (#4155)
4f7d65f - browser(firefox): report pageerrors without stack properties (#4166)
ef3d3ca - doc(overrides): remove "one of" that was misleading (#4168)
7103887 - add type for selector engine (#4174)
bbdba42 - chore(screencast): respect i/o backpressure when writing into ffmpeg (#4164)
26442c5 - browser(webkit): fix the datastore leak (#4163)
305d209 - browser(firefox): always send focus events (#4150)
97cb51f - browser(webkit): fix windows compilation after last roll (#4162)
6fb6929 - browser(webkit): roll to 10-15 (#4161)
fec37ad - test: use custom header when testing header removal (#4157)
8f8bebb - browser(firefox): roll Firefox to tip-of-tree Oct, 12 (#4158)
7e6f2af - test: disable failing test "should be able to remove headers" (#4152)
a61d07a - browser(webkit): report correct pointer type to css (#3936)
180aa01 - test: make "remove header" test actually test be havior (#4092)
3c32c16 - browser(firefox): use 16-byte long uid instead of ordinal as screencast id (#4147)
e9f5477 - fix(screencast): await for the first video frame on Chromium (#4145)
46a49d0 - fix(screencast): bump chromium video quality (#4146)
bb981fc - fix(screencast): correctly process videos with 1 frame (#4144)
25cb649 - docs: fix Video.path() type (#4141)
a169cb6 - browser(webkit): fix mac compilation errors (#4139)
c7b2359 - feat(firefox): roll to r1190 (#4133)
8c6a2e1 - browser(webkit): Input.dispatchTapEvent (#4102)
381f49a - chore: roll folio to 0.3.11 (#4130)
5a76856 - api(video): restore the missing video path accessor (#4132)
9daedac - chore: roll test fixtures, replace trace w/ video (#4129)
a4474f6 - browser(firefox): Page.dispatchTapEvent (#4101)
5804131 - chore: bump folio to 0.3.9, use fixture timeout (#4118)
71c444c - browser(webkit): revert changes to WebAutomationSession.h (#4128)
d6240a3 - docs(showcase): remove codex from users
331bb81 - docs: add note about videos saving on context closure (#4126)
fdff5a1 - feat(webkit): bump to 1353 (#4119)
58285f6 - browser(firefox): await browser initialization when closing browser (#4121)
8ad3404 - fix(test): update path for screenshots on failure (#4120)1.5.2
27 Oct 2020Chromium 88.0.4287.0
Mozilla Firefox 82.0b9
WebKit 14.0
Highlights
Chromium 88.0.4287.0
Mozilla Firefox 82.0b9
WebKit 14.0
Bug fixes:
browserContext.close takes too long when recording videos
Playwright-chromium (>1.5.0) does not exit properly (hangs) when started in docker
Don't disable nodes maxListeners warning on
Cannot override
.npmrcenv varPLAYWRIGHT_SKIP_BROWSER_DOWNLOADfrom true to falseA png screenshot is produced when a jpeg/jpg screenshot is requested
Issues Closed (5)
#4148 - [BUG] browserContext.close takes too long when recording videos
#4218 - [BUG] Playwright-chromium (>1.5.0) does not exit properly (hangs) when started in docker
#4224 - [BUG] Don't disable nodes maxListeners warning on
#4225 - [BUG] Cannot override.npmrcenv varPLAYWRIGHT_SKIP_BROWSER_DOWNLOADfrom true to false
#4238 - [BUG] A png screenshot is produced when a jpeg/jpg screenshot is requestedCommits (7)
0f8eccf - fix(ECONRESET): fix it once and for all (#4258)
e50d0a2 - fix(screenshot): prioritize passed type over the extension mime (#4251)
3d4e50d - fix(env): respect =true/false as env values for boolean flags (#4228)
1df6b92 - fix: updategetFromEnvlogic to validate that value is undefined (instead of falsey) before redefining it (#4226)
3188d6e - fix(listeners): avoid "too many listeners" problem safely (#4223)
3201c23 - Revert "fix(listeners): avoid "too many listeners" problem (#3931)" (#4222)
4975cea - chore(screencast): respect i/o backpressure when writing into ffmpeg (#4164)1.5.1
14 Oct 2020Chromium 88.0.4287.0
Mozilla Firefox 82.0b9
WebKit 14.0
Highlights
New
page.video()method to retrieve on-going page video recording.Browser Versions
Chromium 88.0.4287.0
Mozilla Firefox 82.0b9
WebKit 14.0
New APIs
[
page.video()]
Issues Closed (2)
#4142 - [BUG] Video Recording Chromium compression is too high
Commits (6)
0b7976a - fix(screencast): await for the first video frame on Chromium (#4145)
2cd8604 - fix(screencast): bump chromium video quality (#4146)
5dce248 - fix(screencast): correctly process videos with 1 frame (#4144)
85ae3cc - chore: mark v1.5.1
e5743d2 - docs: fix Video.path() type (#4141)
618b50c - api(video): restore the missing video path accessor (#4132)1.5.0
13 Oct 2020- Breaking
Chromium sandboxing is now opt-in. This is to simplify running Playwright tests in CI environments. Learn how to enable sandboxing.
- Breaking
The Docker image adds
pwuseras an optional user for non-root user environments. Video screencasts API is now stable: Use the
videosPathoption while creating browser contexts to record videos for all pages within the context. See examples.
Highlights
Video screencasts API is now stable: Use the
videosPathoption while creating browser contexts to record videos for all pages within the context. See examples.Test runner is available in preview: To setup a cross-browser end-to-end testing suite with Playwright, check out playwright-test. Try it out, and tell us what you think!
Playwright CLI
CLI codegen can now generate Python code. Run
npx playwright-cli codegen --target=pythonto try!
Breaking changes
- Breaking
Chromium sandboxing is now opt-in. This is to simplify running Playwright tests in CI environments. Learn how to enable sandboxing.
- Breaking
The Docker image adds
pwuseras an optional user for non-root user environments.
Browser Versions
Chromium 88.0.4287.0
Mozilla Firefox 82.0b9
WebKit 14.0
New APIs
[
browser.newPage()], [browser.newContext()] and [browserType.launchPersistentContext()] now supportvideosPathandvideoSizeoption.New [
page.video()] method. (v1.5.1)New [
Video] class. (v1.5.1)New [
browserContext.browser()] method.Both
browserContext.exposeBinding()andpage.exposeBinding()now accepthandleoption to pass handles instead of serialized values.
Issues Closed (29)
#3046 - [BUG] Browser doesnt get installed on Windows Server
#3405 - [BUG] Attach multiple instance of playwright to browser server
#3617 - [Question] Protocol error (Network.getResponseBody): No resource with given identifier foundError
#3695 - [Question] Passing a DOM element to an exposed function
#3705 - [Question] What is the best way to use "goto" in an application that uses long-polling?
#3711 - [Question] Multithreading with playwright
#3727 - [Feature] Get timeout on Page level
#3897 - [BUG] Can't click button in Chromium headless mode
#3905 - [BUG] subtree intercepts pointer events
#3916 - [Question] Video recording: capturing popups
#3918 - [Question]page.frame not referencing url in Chrome Dev Tools for Power BI report
#3920 - [Feature] coverage per frame
#3939 - [BUG] browserContext.newPage() sometimes hangs indefinitely
#3962 - [Question] Why does chromiumBrowserContext.newCDPSession require a page?
#3967 - [BUG] Not working with macos 10.13.6 (17G2208)
#3970 - [Question] Recommendation on Node.js program to work with playwright to access SQL server or Databricks to query to get data values
#3971 - [BUG] Firefox Timeout while waiting for popup
#3976 - [Question] Wait for XHR triggered by action
#3978 - [BUG] typing files and real code are different
#3987 - [Question] Using firefox as browser on test throws:Response body is unavailable for redirect responses
#3991 - [BUG] browserType.connect() promise never resolved after version 1.4.x
#3995 - [Feature] Roll firefox to current beta
#3996 - Review the new video and trace APIs
#3997 - [BUG] Cannot launch compiled electron application
#4013 - [BUG] - I can not access to playwright.dev
#4020 - [Question] When does page.click resolve in the DOM loading lifecycle?
#4022 - Browser launch argument for firefox.
#4033 - [BUG] Failed to launch chromium because executable doesn't exist
#4043 - [Question] Cucumber/Gherkin support for PlaywrightCommits (167)
3350db2 - chore: nit test fixes (#4114)
c2adc98 - chore: roll folio to 0.3.8 (#4113)
46b14bc - chore: roll folio to 0.3.6 (#4110)
80ed407 - test: add a failing test for the issue 4038 (#4111)
5648eac - browser(webkit): fix mac build after last roll (#4108)
3f68713 - chore: locate binaries in case of cli deployment (#4107)
db744e2 - browser(webkit): roll to 10/08 (#4106)
b85ba62 - browser(webkit): actually fix mac compilation (#4105)
9801be6 - feat(chromium): roll to 815036 (#4099)
80773fa - fix: disable chromium sandbox by default (#4090)
d6a198a - browser(webkit): speculative build fix for Mac (#4104)
8252eb7 - browser(webkit): roll to 09-27 (#4103)
c078e98 - chore: update bin/PrintDeps.exe to r1002 (#4096)
e2f7745 - browser(chromium): roll to 815036 (#4098)
ebb3563 - chore: update package-lock.json
e6a1a1c - fix(docker): add again pwuser (#3899)
b4ad6e7 - devops: playwwright-core installation should not touch browser registry (#4089)
ff295d1 - fix(windows): fix dependencies check on windows (#4076)
08024c8 - feat(firefox): roll to r1188 (#4091)
6a7d244 - devops: fix firefox build (#4088)
1ccce09 - browser(firefox): roll Firefox to beta Oct 7, 2020 (#4087)
09906949 - docs(page): clarify page.close({runBeforeUnload: true}) behavior (#4086)
6bb212c - feat(firefox): roll Firefox to r1186 (#4085)
fd769ec - chore: remove test dependency on pw itself (#4078)
6beef55 - browser(firefox): wait for search and addon manager initialization (#4081)
3b42328 - browser(firefox): a different way to emit 'load' event (#4080)
aafe5da - docs: add videos to verification doc (#4071)
ad58e49 - Revert "feat(firefox): migrate to the pipe channel (#4068)" (#4073)
1fe3c78 - test: roll test runner 0.9.22 (#4072)
ce7aa7a - feat(firefox): migrate to the pipe channel (#4068)
e6869ed - browser(firefox): fix typo in dispatcher teardown (#4069)
5d12915 - feat(firefox): roll to r1182 (#4067)
4ab66a4 - browser(firefox): follow-up with assorted simplifications (#4066)
c8a64b8 - browser(firefox): enable document channel (#4065)
e403fd3 - test: update fixtures to new syntax (#4063)
0db09f8 - test: roll test runner to 0.9.20 (#4062)
2df6425 - chore(typo): resolve typo in src/progress.ts (#4041)
857abcf - browser(firefox): make pipe work on Windows (#4058)
a7beaf6 - browser(chromium): roll to 813607 (#4052)
d31cbc2 - fix(video): wait for videos when closing persistent context (#4040)
fbe0fb2 - fix(api.json): do not copy documentation from base class members (#4048)
e214f79 - feat(video): support videos in remote browser (#4042)
133de10 - browser(firefox): start screencast in existing pages upon setScreencastOptions (#4045)
1f16ce2 - test: remove failing expectations from a passing test (#4036)
ec36eef - feat(firefox): roll Firefox to r1179 (#4044)
2c11b10 - browser(firefox): remove multisession logic (#4039)
5e42029 - api: allow exposeBinding to pass handles (#4030)
c217121 - test: add a test for request interception with redirects (#3994)
81c1dae - test: roll test runner 0.9.17 (#4035)
318ab28 - chore: include api.json in NPM package (#4034)
4a77363 - api: update videos api, hide tracing (#4015)
920cc7c - test: run crash tests with chromium wire (#4026)
b74a6b7 - browser(firefox): do not double-attach session to the same target (#4027)
f885d07 - fix(close): fix a race during context.close and page.close (#4018)
b9dcfb9 - test: minor fixes (#4024)
13d48da - test: record trace/videos on retries (#4009)
97435844 - browser(firefox): move user agent emulation to browser side (#4016)
ab2714e - test: unflake click-timeout-4 (#4012)
ccc827c - test: add a test for screen.avail{Width,Height} emulation (#4011)
e280839 - browser(firefox): simplify PageTarget lifecycle (#4014)
24bc0e3 - browser(firefox): remove the hack around setting viewport size (#4010)
a20c0e0 - roll(firefox): roll Firefox to r1174 (#4005)
d658b68 - chore: refactor screencast tests (#4007)
20b83ee - fix(electron): do not use --require to throttle startup (#4006)
6dccd27 - fix(wire): fix the wire mode (#4008)
7ccdc51 - chore: include api.json into the Playwright package (#4003)
c30b894 - chore: add missing image test expectation (#4004)
de1e63d - test: roll test runner 0.9.16 (#3998)
2631e1a - browser(firefox): use browsingContextID for frame IDs (#3999)
b3497b3 - fix(actions): wait for some time before retrying the action (#4001)
109688a - chore: split playwright.fixtures into files (6) (#3988)
423485e - chore: split playwright.fixtures into files (5) (#3986)
0ee9050 - chore: split playwright.fixtures into files (4) (#3985)
cef27d6 - chore: split playwright.fixtures into files (3) (#3984)
76be954 - chore: split playwright.fixtures into files (2) (#3983)
5b9f489 - chore: split playwright.fixtures into files (#3982)
59daaab - chore: roll @playwright/test-runner to 0.9.14 (#3981)
61020528 - Revert "chore: don't hold sourcemap reference in prod build (#3959)" (#3979)
970b011 - chore: roll @playwright/test to 0.9.6 (#3977)
49bcf6e - chore: roll test runner to 0.9.1 (#3972)
989709b - chore: delete unused screencast hacks (#3964)
76d08ce - chore(types): add return type to advancePosition (#3961)
a42cd4b - test: mark screencast tests as flaky until ffmpeg migation (#3968)
49779d5 - Update showcase.md (#3969)
1bb44e4 - test: roll test runner to 0.3.29 (#3966)
fe41bbd - test: enable videos on tracing bots (#3930)
e15ac44 - test: roll test runner to 0.3.25 (#3965)
6d5ab53 - chore: don't hold sourcemap reference in prod build (#3959)
967f3b7 - devops(docker): push focal images to CR (#3950)
4aaf3b7 - test: roll test runner to 0.3.20 (#3963)
1d21c1e - feat(webkit): bump to 1347 (#3955)
18809b3 - fix(listeners): avoid "too many listeners" problem (#3931)
2d1cabd - test: roll test runner to 0.3.18 (#3949)
0e76316 - fix(close): fix the browser.close race (#3956)
c4a2732 - browser(webkit): another mac fix (#3948)
ce51af0 - brower(webkit): add missing override markers (#3947)
7925a51 - feat: support concurrent installation of browsers (#3929)
2fbe767 - browser(webkit): roll to 09/21 (#3945)
f1016c1 - fix(executablePath): throw unexpected platform error upon call (#3943)
cd0a123 - feat(chromium): roll to v808777 (#3942)
ec26265 - feat(ffmpeg): roll FFMPEG to r1003 (#3944)
2693c16 - devops(ffmpeg): compile zlib dependency that is needed for ffmpeg (#3940)
731560c - browser(chromium): roll to v808777 (#3941)
ee7c623 - devops: compile ffmpeg with support of video splitting (#3938)
cdc6432 - chore: roll winldd to r1001 (#3928)
becdccdf - devops(docker): added Dockerfile for Ubuntu 20 focal (#3891)
75edc61 - feat(emulation): emulate a mouse pointer in headless chrome (#3922)
c2d9af8 - test: roll test runner to 0.3.17 (#3927)
df77734 - api(video): simplify video api (#3924)
4e2d75d - test: migrate some helpers to fixtures, use testOutputDir (#3926)
9de39b1 - devops: hardcode build number in winldd executable (#3923)
0ade6af - api(trace): introduce artifacts options (#3914)
bff9fb2 - devops: fix winldd build
6af0aa6 - devops: notify when winldd is built
fda31df - devops: build winldd on buildbots (#3917)
53ae805 - chore: fixed devcontainer Docker usage (#3898)
01a4060 - chore: move action instrumentation per-context (#3908)
d4d0239 - test: roll test runner to 0.3.14 (#3913)
10e725b - test: roll test runner to 0.3.13 (#3911)
96629304 - test: make platform a parameter (#3910)
dc06f0a - chore: introduce evaluateInUtility private api (#3907)
36f2420 - chore(trace): remove dependency on handle._previewPromise (#3906)
73db4a4 - docs(api): fix typo
823a7a5 - test: roll test runner to 0.3.12 (#3895)
55075531 - fix(screencast): repeat previous frame instead of current (#3890)
592bae1 - feat(trace): record goto, setContent, goBack, goForward and reload (#3883)
8bc09af - fix(firefox): imply default ports for proxy (#3850)
f758a09 - test: roll test runner to 0.3.11 (#3885)
430f2be - devops: stop relying on ubuntu stock ffmpeg (#3882)
459d857 - feat(screencast): add saveAs and createReadableStream (#3879)
e4e3f82 - devops: fix ffmpeg linux build (#3884)
2f0d202 - chore: refactor goBack/goForward/reload (#3859)
2a66f8a - devops: build ffmpeg for linux (#3880)
1eb282d - test(screencast): save video in test-results (#3876)
0a243c6 - fix(waitTask): remove rerunnable tasks from the context data upon success/failure (#3875)
7ab0c10 - fix(launchServer): do not throw when 'port' option is present (#3877)
01198f8 - fix($$): use utility context when possible (#3870)
e5c6b19 - fix(launcher): check for ffmpeg only when starting screencast (#3874)
c20cbae - chore: remove trace viewer (#3869)
dfbd1ce - docs(languages): added Go reference (#3867)
1421ed9 - test: fixed Node.js deprecation warning (#3864)
d7f3812 - tests: fixed OS-locale specific failing test (#3863)
1d8d89d - chore: add devcontainer for GitHub Codespaces (#3862)
beceeaf - feat(browserContext): add BrowserContext.browser() (#3849)
5314512 - chore: inline page._runAbortableTask (#3861)
02275f2 - test(screencast): use public API for pixel tests (#3858)
40323aa - fix(screencast): use viewport as default size (#3844)
c4adeb6 - fix(snapshot): do not let a single frame fail the whole snapshot (#3857)
c175dad - chore: fix compatibility to the domain module (#3851)
b8e90a5 - browser(webkit): duplicate each frame duration times (#3856)
263aa06 - feat(trace): trace more actions (#3853)
75e847a - docs(pom.md): fix typo in example function name (#3855)
16be357 - feat(trace): trace page open/close events (#3852)
f94df31 - chore: roll test runner to 0.3.9 (#3847)
38ed8de - feat(tracing): trace actions (#3825)
a597004 - chore: roll test runner to 0.3.5 (#3832)
9e41518 - feat(rpc): allow sending metadata with rpc calls (#3836)
d2771eb - test(screencast): always use chromium to replay the video (#3841)
2f2ca8f - feat(firefox): bump to 1173 (#3843)
1e600cb - fix(windows): show details about missing dependencies (#3839)
3495842 - docs(screencast): add a snippet for _videostarted (#3842)
46f9151 - fix(rpc): ensure better error messages when rpc misbehaves (#3838)
ed3b00e - chore: merge BrowserType and BrowserTypeBase, remove logName (#3837)
bf9c4a3 - fix(snapshot): properly save textarea content (#3835)
45542a5 - docs: fix table-of-contents generation (#3840)
25b199b - browser(firefox): fix screencast start event for popups (#3834)1.4.2
24 Sep 2020MacOS 10.13 Webkit error
browserType.connect() throws on executablePath errors
Chromium 86.0.4238.0
Highlights
This patch release includes fix for the following bugs:
MacOS 10.13 Webkit error
browserType.connect() throws on executablePath errors
Browser Versions
Chromium 86.0.4238.0
Mozilla Firefox 80.0b8
WebKit 14.0
Issues Closed (2)
#3919 - [BUG] MacOS 10.13 Webkit error
#3935 - [BUG] browserType.connect() throws on executablePath errorsCommits (2)
747e736 - chore: mark v1.4.2
b05c098 - cherrypick(release-1.4): throw unexpected platform error upon call (#3946)1.4.1
18 Sep 2020Ffmpeg dependency check fails on Linux
Ffmpeg dependency check breaks on Linux even if screencast is not used
TypeError: Domain.enter is not a function/ Browser.close() Promise does not resolve when "domain" package is used
Highlights
This patch release includes fixes for the following bugs:
Ffmpeg dependency check fails on Linux
Ffmpeg dependency check breaks on Linux even if screencast is not used
TypeError: Domain.enter is not a function/ Browser.close() Promise does not resolve when "domain" package is used
REGRESSION: Calling
browserType.launchServerstopped working in 1.4.0
Browser Versions
Chromium 86.0.4238.0
Mozilla Firefox 80.0b8
WebKit 14.0
Issues Closed (4)
#3845 - [BUG] ffmpeg dependency check fails on Linux
#3846 - [BUG] ffmpeg dependency check breaks on Linux even if screencast is not used
#3848 - [BUG] TypeError: domain.enter is not a function/ Browser.close() Promise does not resolve when "domain" package is used
#3872 - [REGRESSION]: CallingbrowserType.launchServerstopped working in 1.4.0Commits (6)
e79eada - chore: mark v1.4.1
2df3972 - fix(screencast): repeat previous frame instead of current (#3890) (#3904)
bf97758 - cherrypick(release-1.4): stop relying on ubuntu stock ffmpeg (#3894)
8bc84ff - cherrypick(release-1.4): check for ffmpeg only when starting screencast (#3893)
8795d46 - cherrypick(release-1.4): do not throw when 'port' option is present (#3881)
64947f1 - cherrypick(release-1.4): fix compatibility to the domain module (#3878)1.4.0
10 Sep 2020- Breaking
rootuser is used in the default Docker image 5f6441e - Breaking
ffmpegdependency is required when running Chromium Open pages in Chromium, Firefox and WebKit (Safari) on all platforms
$ npx playwright-cli open wikipedia.org
Highlights
playwright-cliis now public!Playwright Command Line Interface can:
Open pages in Chromium, Firefox and WebKit (Safari) on all platforms
$ npx playwright-cli open wikipedia.org
Record user interactions and generate Playwright scripts
$ npx playwright-cli codegen wikipedia.org
multi-page scenarios
text-based selectors
downloads, uploads
many more!
Emulate devices, color schemes, geolocation, etc
$ npx playwright-cli --device="iPhone 11" open wikipedia.org
Use DevTools console to inspect Playwright selectors
> playwright.inspect('text=Log in')Generate page screenshots and PDFs
$ npx playwright-cli screenshot --help
Record videos (experimental)
Record videos of your scripts, every page and popup is captured!
const fs = require('fs'); const { chromium } = require('playwright'); (async () => { const browser = await chromium.launch({ _videosPath: __dirname // save videos here. }); const context = await browser.newContext({ _recordVideos: { width: 1024, height: 768 }, // downscale }); const page = await context.newPage(); const video = await page.waitForEvent('_videostarted'); await page.goto('https://github.com/microsoft/playwright'); // ... perform actions await page.close(); fs.renameSync(await video.path(), 'video.webm'); await browser.close(); })();New Client / Server Wire protocol
In the last release, we introduced an internal protocol to support Playwright in the none-Node environments. It is already used in the Playwright for Python as well as in third party PlaywrightSharp and Playwright for Go implementations.
With v1.4, we are taking it one step further and migrate Node version of the library along with its client-server mode to be based on this new protocol. So if you are using
browserType.connectagainst cloud services or internally, you need to make sure that the service is also updated to v1.4 before you can use it.Browser Versions
Chromium 86.0.4238.0
Mozilla Firefox 80.0b8
WebKit 14.0
New APIs
experimental
_videosPathoption inbrowserType.launch(),browserType.launchPersistentContext()andbrowserType.launchServer().experimental
_recordVideosoption inbrowser.newContext(),browser.newPage()andbrowserType.launchPersistentContext()experimental
page.on('_videostarted')
Breaking changes for Docker and CI users
- Breaking
rootuser is used in the default Docker image 5f6441e - Breaking
ffmpegdependency is required when running Chromium
Issues Closed (73)
#632 - [BUG] setInputFiles does fetch that fails due to CSP
#1396 - [Question] Performance issues on Firefox?
#1400 - [Feature] debugging client script
#1568 - [BUG] Playwright cannot talk to Chromium on Heroku
#1605 - Parrallel execution[Question]
#1626 - [Feature] Playwright Recorder
#1654 - [Feature] Command events/hooks
#1935 - [BUG] cant create webkit context
#2053 - How to use playwrite to log in as various users in another ntlm domain?
#2054 - [Feature] page.waitForActionable()
#2086 - [BUG] Firefox on Appveyor seems flaky
#2124 - [Feature] playwright.dev should have a link to GitHub
#2236 - [Feature] Ability to test printing
#2321 - [BUG] Google Cloud Function error (deploy)
#2363 - [Feature] Pass timeout in the BrowserContextOptions for newContext
#2366 - [Feature] Allow PDF to be returned as a stream.
#2450 - [BUG] Error: NS_ERROR_CONNECTION_REFUSED while navigating to localhost
#2453 - [BUG] Text selector not found in open shadow root
#2526 - [BUG]Wait for navigation with url and wait until network idle fail to respond and time out
#2556 - [Question] page.evaluate() issues with xpath
#2559 - [Question] Running WebKit GTK on Ubuntu 20.04
#2573 - [BUG] Can't click 2FA duo button.
#2587 - How can I call an external function in class inside page.evaluateHandle(...) context
#2603 - How to make page bring to front
#2616 - [REGRESSION]: Very slow on v1.1
#2623 - [BUG] Firefox does not launch with executablePath set to Firefox inside Applications folder
#2657 - [Feature] Consider adding Browser Server to the Core Concepts docs
#2660 - [BUG] Cannot find a MiniBrowser.app in neither location
#2692 - What is the proper way of handling tests with more that one tab?
#2704 - Error: Protocol error (Overlay.highlightNode): Could not find object with given id
#2707 - [Question] Unable to load website on Webkit
#2718 - [Feature] Simulate mouse movements so you can visually see what is being clicked during a test run
#2726 - [Question] Allow cross-site tracking or change your browser
#2728 - Is it possible to launch playwright browser "headless:false" in a docker container.
#2821 - [Question] Wait for response.ok()
#2828 - [BUG] - Multiple calls to launchPersistentContext fail in non-headless mode
#2833 - [Question] Is it possible to launch contexts with different proxies?
#2846 - [BUG] Disconnect\Reconnect not working in firefox[when using jest-playwright-preset]
#2853 - Do Playwright stores a "dev_profile" file?[Question]
#2859 - Playwright Firefox browser instances not closing after closing browser context[BUG]
#2878 - [REGRESSION]: context.pages() now works differently
#2882 - [BUG] Cannot use https or socks5 proxies
#2889 - [Feature]release train order
#2905 - [BUG] Getting chromium as undefined with playwright-core
#2930 - [BUG] page.screenshot doesn't create folder if needed
#2942 - [Feature] Switch between tabs in same context
#2971 - [Internal] Jest runner limitations / adoption blockers
#3001 - [Internal] for the jest portion of the tests, we should handle sigint.
#3047 - [BUG] miss export type BrowserTypeConnectOptions
#3083 - [Internal] browser roll script should update docs
#3084 - [Question] "Cannot read property 'launch' of undefined"
#3094 - [Feature] Add list of contributions to release notes
#3108 - [Feature] Add yarn to playwright:{bionic:dev} Docker images
#3109 - [Question] Add PID to pw logs
#3140 - [Feature]make automation life more good!
#3142 - [BUG]
#3144 - [Question] clarify in docs what click timeout option waits for
#3146 - [Question] Deno Integration?
#3151 - [BUG] Page.goto() flakiness - seeing TimeoutError sometimes
#3192 - [Question] Check if element is stable
#3215 - [Feature] Roll Firefox to current beta
#3230 - [BUG] FF - launchPersistentContext
#3231 - [Question] page.keyboard.press('Enter') not working on Firefox
#3232 - [Question] Chorimium is lauched but unable to navigate to url as it just says about:blank
#3233 - [BUG] IP:PORT Proxy doesnt work on playwright-firefox
#3258 - [Feature] add a webkit/firefox auto-roll bots
#3259 - [Feature] serve Chromium from our CDN
#3262 - [Question] Channels download.delete and download.createReadStream
#3269 - [Question] Mouse smooth scroll
#3281 - [BUG] Docs have wrong evaluation argument type
#3293 - [Feature] take implicit xpath if selector starts with .. (dot dot)
#3310 - [BUG] Website throws exception before rendering
#3315 - [BUG] Fails on start - WS url is undefinedCommits (384)
d64d002 - browser(firefox): fix screencast in first window on mac headful (#3826)
559f30d - chore: roll ffmpeg binaries to r1001 (#3824)
3124a1b - devops: fine-tune ffmpeg compilation (#3823)
4240e1d - docs: add page on language bindings (#3819)
777689a - docs(intro): add cli to getting started (#3821)
29b8098 - devops: fix running docker when executed from cronjob (#3822)
ee98bd0 - docs(selectors): update structure and add best practices (#3817)
245d100 - devops: produce ffmpeg builds on bots (#3820)
8a339be - browser(firefox): roll Firefox to r1171 (#3818)
ff0d697 - docs(docker): add note how to use chromium sandbox (#3779)
86874006 - refactor: consolidate ffmpeg-related files in third_party/ffmpeg (#3815)
6c83266 - browser(firefox): force firefox devtools to open in a separate window (#3816)
dee7392 - feat(webkit): bump to 1343 (#3814)
5364c6a - browser(firefox): fix automatic http->https redirect (#3812)
3c69f2a - tes(types): use @ts-expect-error in tests where we check for errors (#3794)
e8cf895 - feat(chromium): roll Chromium to r799411 (#3811)
1791be6 - fix(input): send keypress event for enter key in chromium (#3796)
b28ed21 - chore: remove highlight from PWDEBUG in favor of devtools one (#3800)
355ea73 - feat: actually bundle FFMPEG binaries with NPM packages (#3804)
e9f4843 - chore: use non-fractional revision for chromium revision (#3809)
b8d7f39 - browser(chromium): mirror Chromium r799411 to Azure (#3808)
638c77c - devops: stop bundling FFMPEG with Chromium (#3806)
af58c8a - fix(screencast): ensure that _videostarted is fired after newPage (#3807)
a5a5636 - browser(webkit): fix basic screencast for accelerated compositing on win (#3803)
8f81868 - fix(screencast): tune ffmpeg params for better quality (#3798)
143adc1 - refactor: bake ffmpeg into npm instead of CDN (#3799)
1d4601b - browser(webkit): fix screencast scale on Mac headful (#3797)
658b34e - fix(lint): fix doclint and preprocessor tests (#3793)
74f1a64 - fix(debug): do not generate source urls for anonymous scripts (#3787)
c83b2da - chore: revert isDevMode into isUnderTest (#3785)
fea3ceb - chore: expose injectedScript.extend (#3784)
d6cd022 - test(screencast): mark win/webkit ac as failing (#3783)
f8e1fd7 - test: add a failing test for page.press (#3780)
66985fc - feat(screencast): add expreimental public API on context (#3766)
f6aab9e - chore: fix minimum node version (#3777)
675ce00 - chore: introduce "instrumentation" that is used for debug and trace (#3775)
25fe115 - docs: update why-playwright.md (#3761)
bd7cdc3 - feat(webkit): bump to 1341 (#3774)
bcb4944 - devops: auto-detect platform in//browser_patches/chromium/build.sh(#3772)
bbe2233 - feat(chromium): use bundled ffmpeg instead of npm deps (#3771)
f09145e - chore: fix typo in build script
3cb3c65 - chore: build Chromium version with ffmpeg (#3770)
a755d10 - devops: encode build number together with Chromium revision (#3769)
dfc0006 - devops: bundle ffmpeg with chromium (#3767)
fa8de99 - Revert "devops: revision Chromium repackaged builds separately (#3698)" (#3763)
b6557b9 - browser(webkit): remove incognito emoji from title (#3765)
fc7b065 - browser(webkit): revert #3360 as it broke many sites (#3764)
921c8d8 - docs: add help section (#3741)
52fd88b - fix(screencast): always send at least one frame in wpe (#3760)
190d16d - feat: add browser type to device descriptors (#3731)
8b9be6b - devops: fix publishing of @next packages to NPM (#3759)
91671f5 - chore: remove unused dev dependencies (#3758)
5364e32 - devops: bake commit SHA inside npm package (#3754)
c190310 - fix(setInputFiles): make it work with CSP enabled (#3756)
f232f34 - test: create a page in fixture tests to exercise browser processes (#3745)
d3c6777 - browser(webkit): force repaint on screencast start (#3757)
8df1fe4 - test: explicitly require expect (#3755)
7ad5bd9 - test: roll test-runner to 0.2.9 (#3752)
84a0066 - devops: align release publishing of docker image with dev releases (#3725)
42a6404 - test: roll test-runner to 0.2.9 (#3753)
175fc52 - test: roll test-runner to 0.2.8 (#3748)
c5c3c75 - feat(webkit): bump to 1338 (#3751)
6b085a3 - browser(webkit): do not clear existing contexts from map when exiting (#3750)
7671e8e - devops: remove warnings when running under root without sandbox (#3749)
2d46cd8 - feat(electron): automatically disable electron sandbox when run as root (#3747)
0976732 - fix(screencast): remove white padding in headless chromium (#3746)
de547d7 - fix(connect): make selectors.register work in connected browser (#3664)
5c3bf5b - test: add tests for selectors matching root behavior (#3744)
469541a - test(screencast): try to unflake tests (#3742)
5f6441e - chore(docker): use root user in Docker image (#3739)
b7f6a98 - devops: use a helper script to tag and push docker images (#3737)
a588840 - test(screencast): add auto scale test (#3733)
be5eba0 - fix(rpc): improve internal error for unexpected rpc message (#3734)
df12264 - devops: use ubuntu 20.04 to build & publish docker releases (#3736)
216db2c - devops: use microsoft/playwright-github-action@v1 everywhere (#3735)
1e64efc - feat(screencast): autoscale to fit requested size (#3730)
9d999ae - devops: push all tags to docker registry (#3732)
a4563a8 - fix(snapshot): remove integrity checksum for css (#3729)
a588125 - test: call setDevMode in wire tests (#3678)
fc29623 - feat(screencast): use system ffmpeg on linux (#3724)
65901305 - test: roll test runner to 0.2.5 (#3723)
47ea1e0 - devops: another attempt to figure out docker publishing (#3721)
ee1becd - browser(firefox): autoscale screencast to fit frame (#3720)
1de4f7f - devops: trigger docker devrelease when github action itself changes (#3719)
2dc57c5 - chore: fix yaml syntax in the github action (#3718)
1f93fb7 - chore: fix devrelease workflow names (#3717)
d71d2f5 - devops: install ssh in the docker image (#3716)
f8408cb - fix(launcher): check libs required for playing h.264 (#3715)
76ab82f - browser(webkit): prepend http:// to the schema-less URLs (#3713)
ba7093c - devops: try to use azure/docker-login instead of manual login (#3714)
fad840d - browser(webkit): fit screencast to frame if no scale is specified (#3707)
ef5c87c - devops: switch docker publishing to a bash script (#3704)
db9b8a0 - fix(screencast): dont throw from frameAck if target is closed (#3702)
1877c29 - devops: remove autoroll (#3684)
a17dd98 - feat(screencast): auto recording for new pages in chromium (#3701)
f23dbfb - test(screencast): more tests on Chromium, new seek impl (#3699)
fcc1680 - devops: revision Chromium repackaged builds separately (#3698)
8f37d78 - Add Applitools SDK to the showcase (#3694)
8ec55e1 - feat(screencast): use ffmpeg to produce webm in chromium (#3668)
3cc9109 - chore(testrunner): move out of the repo (#3687)
555a8d0 - fix(testrunner): include fixture teardown into timeout, add global timeout (#3685)
c47af2d - fix(testrunner): report unhandled rejection ones, allow retry (#3686)
abb50a7 - browser(firefox): fix request frame attribution (#3657)
6a93cb9 - fix(types): don't show types that we don't export (#3185)
4e5007a - fix(rpc): nice error stacks when running tests (#3507)
c2cd963 - chore: added envinfo to the bug issue template (#2237)
657cc9b - feat(test): use metafunc in describes (#3682)
fb6d1ad - docs(docker): add link to mcr status ui (#3679)
45e178f - fix: supportIP:PORTshort notation to specify proxy server (#3568)
97e4561 - feat(test): introduce metafunc for skip (#3676)
e5ff283 - fix(trace): only enable on separate tracing bots (#3677)
63a0e0c - chore: bump dev dependencies (#3659)
7b1fac9 - test: mark all crash tests as flaky on firefox win (#3675)
3d6051a - test: mark "should work for webgl" as fixme on webkit linux (#3674)
90408aa - test: Remove "request interception" from oopif tests (#3671)
b34d9ab - feat(trace): experimental traces for our tests (#3567)
19f21b1 - browser(webkit): use webkit generate-bundle tool to generate the bundles (#3563)
4386cd4 - test: mark "headless should be able to read cookies written by headful" as flaky on firefox (#3673)
744af78 - feat(rpc): simplify browser name detection on the client side (#3670)
eec9263 - test: make some tests as flaky (#3672)
2edd6f2 - docs: introduce why-playwright.md (#3666)
e2057fb - chore(test): run eslint on tests (#3638)
6ffdd4d - feat(testrunner): allow unexpected passes (#3665)
5c0f933 - test: always setUnderTest in index.js, rename to setDevMode (#3662)
7444de4 - docs: update navigation and loading page (#3655)
cfbec44 - feat(testrunner): allow annotating tests as flaky (#3663)
6a0f587 - fix(testrunner): report suite-level errors (#3661)
2b7d79d - fix(testrunner): fix windows bots (#3660)
efd45f8 - fix(testrunner): report tests as passed in the trial-run mode (#3654)
06154060 - feat(testrunner): support repeat-each (#3652)
3ea3cf0 - devops: add yarn and git in the docker container (#3651)
15ec87d - feat(testrunner): support --retries, flaky tests (#3649)
254238c - enh: bake browser revisions and api into driver (#3514)
c96ea4b - chore: remove docker image size computation scripts (#3650)
5f9407a - feat(webkit): bump to 1334 (#3643)
1a5f22d - fix(test): import playwright types with import type (#3647)
a20bb94 - chore(testrunner): introduce test result, reuse it in ipc (#3644)
9e2e870 - test: switch browserType.connect tests to use remoteServer (#3646)
8d7ec3a - fix(downloads): make path/saveAs work when connected remotely (#3634)
a87614a - feat(test): shrink api to run only, rename pending to skipped (#3636)
9b50a6d - test: Fix Chromium JSCoverage reportAnonumousScripts test (#3641)
4249a11 - chore(types): upgrade to TypeScript 4.0.2 (#3637)
80cf7e9 - browser(webkit): do not crash when opening web inspector (#3631)
f9eeb29 - fix playwright being imported before toImpl could be registered (#3632)
a6b9922 - fix(testrunner): console.log in color (#3633)
5f86253 - docs: add more detail to waitForNavigation API method (#3635)
25381cf - test: add some tests for remote connect (#3614)
db0fa07 - fix(screencast): replace ScreencastStopped with async path() (#3626)
1a37f8b - browser(webkit): remove browserContextId from some events (#3628)
22b9246 - chore(context): unify browser context id handling (#3629)
a2a9619 - fix(devops): fix firefox protocol.ts location (#3630)
adc2a44 - infra: simplify test results collection (#3623)
17077fd - browser(firefox): introduce browser level screencastFinished event (#3625)
a0bd8de - browser(chromium): package r799610 (#3624)
a38564b - fix(screencast): replace ScreencastStopped event with async path() (#3612)
aaff845 - test: collect stdout/stderr in tests (#3615)
0af3d8e - docs(showcases): added example for Heroku (#3414)
aeab0fa - docs(docker): add note about how to list all tags (#3596)
72b3147 - docs(example): simplified overwriting of requests (#3621)
c25dfba - infra: pull chromium 801321 (#3620)
14abee2 - browser(webkit): fix compilation on mac (#3619)
e215461 - chore: split tests for faster execution (#3613)
db7bec3 - browser(webkit): introduce screencastFinished event on Context (#3611)
06dcf96 - feat(testrunner): allow external reporters (#3603)
e89de7e - fix(testrunner): allow worker fixture to throw/timeout (#3610)
3b2f14f - test: fix wire tests (#3609)
b9d6324 - feat(screencast): fire start evet for popups (#3600)
22e2bf1 - chore: use channels as a namespace in client code (#3608)
bdbcae1 - chore: remove injected -> types dependency (#3606)
3bdf0e8 - fix(testrunner): pass error into test fixtures (#3605)
a099e94 - chore: move last rpc files to their place (#3604)
59a439e - feat(webkit): bump to 1330 (#3602)
1c69682 - browser(webkit): avoid use after free on page close (#3599)
a2dc852 - feat(testrunner): introduce pytest-style reporter (#3594)
4f1f972 - browser(webkit): fix mac compilation (#3598)
2b3a1ae - docs: add theheadless.dev to showcase (#3597)
cd220da - chore: move src files to server (#3593)
43893cc - chore: improve check-deps (#3592)
73e53b2 - chore: move injected and debug to src/server (#3591)
baa6b64 - feat(testrunner): convert reporter to an interface (#3588)
847201b - chore: move firefox to src/server/firefox (#3590)
6a53b20 - chore: move webkit to src/server/webkit (#3589)
77f8031 - fix(electron): fix electron types, move source to src/server/electron (#3583)
53ac35a - chore(testrunner): complete ts migration (#3587)
224d3df - chore(testrunner): extract runtime api and use it from cli (#3585)
2e1493a - chore: move browserPaths to utils, enforce more deps (#3584)
4025f9f - feat(testrunner): expose test and runner config to fixtures (#3580)
f4e8f34 - chore: move chromium to src/server/chromium, enfore installer deps (#3582)
9fca63f - chore: move src/rpc/client to src/client (#3581)
72f11fd - test: Remove duplicated expect (#3579)
e5dae0d - test: move reporters off mocha (#3577)
655013d - chore: move shared utilities to src/utils (#3575)
b909924 - test: remove mocha dependency (#3576)
93d8839 - browser(webkit): explicitly track pages reported for context (#3574)
6fe1cd9 - chore: move protocol files to src/protocol (#3571)
398bd47 - test: translate tests into ts, extract mocha (#3565)
57e8617 - chore: refactor impl-side events to be per-class (#3569)
d4dac04 - chore(testrunner): add exit code tests (#3562)
de5ecc0 - browser(webkit): roll to r266002 08/21/2020 (#3561)
8ae3c4b - feat(testrunner): delete types.d.ts (#3551)
1f0e9db - feat(firefox): support context-level screencast api (#3555)
7a49283 - fix(test): fix the popup test on Windows (#3558)
83f3995 - test: take a screenshot upon failure example (#3556)
071931e - feat(firefox): bump to 1166 (#3557)
e2bb6a0 - fix(click): allow clicking 1x1 sized elements (#3538)
012f942 - chore(test-runner): move into its own folder and typescript project (#3548)
4c56354 - fix(permissions): browserContext.grantPermissions to respect the origin (#3542)
9f3a1b5 - browser(firefox): send screencastStarted after attachedToTarget (#3554)
5ba0254 - browser(firefox): make sure response is sent when context is closed (#3553)
db2e66a - test: introduce global setup (#3544)
eab5ff4 - chore(rpc): use channels types in dispatchers (#3549)
e32a496 - devops(browser-roll): fix fixture tests (#3547)
854d755 - browser(firefox): make context close wait for sessions to finish (#3550)
0d03cc0 - feat(utils): add a script for watching various builds (#3545)
86815d7 - test: convert rename options to parameters, remove options magic (#3543)
30f4c0c - test runner: remove dependencies on playwright (#3539)
18292325 - api: add waitForElementState('disabled') (#3537)
0a22e27 - fix(chromium): disable lazy loading iframes (#3535)
f13cebc - browser(firefox): remove redundant checks for PageTarget._browserContext (#3541)
e679b82 - fix(devops): auto roll tests (#3536)
a78d83e - docs: clarify response and requestfinished events (#3532)
a65b0bb - test: merge test options into options (#3531)
9ac1bbc - chore: remove more paths and url matches from the server side (#3528)
df50660 - browser(firefox): make tab close listener sync again (#3533)
83de007 - feat(screencast): add start/stop events on context (#3483)
73cd6ec - browser(firefox): add screencast control methods to context (#3530)
745dc33 - chore: merge Browser{Context,}Base into Browser{Context,} (#3524)
56da4bb - devops: make sure rust toolchain is installed (#3485)
8989d66 - test: introduce options (#3525)
63a2c67 - chore: align SerializedAXNode with rpc protocol AXNode (#3522)
97157520 - feat(slowmo): only slowmo once per user action (#3012)
b0667e8 - test: fix fit, do not rely upon mocha suite (#3520)
e54195c - chore: align page.pdf options to the rpc protocol (#3521)
e7e8524 - chore: remove screenshot path from the server side (#3519)
20c6b85 - chore: remove route/unroute from the server side (#3518)
3cf48f9 - chore: simplify conversions around setInputFiles (#3516)
ecf4cd3 - chore: simplify conversions around selectOption (#3517)
aeadf50 - chore: use HeadersArray instead of Headers object on the server side (#3512)
77cab8b - test: introduce test collector (#3515)
510182f - test: use isChromium, etc fixtures for browser name sniffing (#3508)
b2228a6 - fix(test): disable more screenshot tests on headful firefox (#3513)
5a964f7 - tests: fix should get the same headers as the server (#3510)
9790ea5 - chore: align more server-side options with rpc protocol (#3506)
7a77faf - fix(testrunner): do not override debug.log (#3505)
dfa1f10 - feat(screenshot): create directories for screenshot file
0e9793c - api: ElementHandle.waitForElementState (#3501)
58fc6b4 - chore: align some server-side methods with rpc calls (#3504)
59e3326 - tests: add test for page.focus() in Firefox (#3478)
141a255 - chore: remove unused methods from server side (#3502)
1e9c0eb - chore: remove logger infrastructure from server side (#3487)
f3c2584 - feat: added rpc driver (#3500)
8ea2800 - devops: first implementation of browser auto-roll bot (#3455)
5aa4116 - docs: sort all enums in doclint (#3488)
3aae8c6 - test: run tests by ordinals, not ranges (#3497)
262e886 - test: organize golden files under snapshots folder (#3494)
c0b9cec - feat(types): export ConnectOptions (#3147)
d516f81 - fix(rpc): add a custom toJSON to help jest's expect library (#3489)
f983432 - feat(firefox): roll firefox to r1160 (#3468)
c900395 - test: restart worker upon any test failure (#3492)
c44f841 - test: reverse dumpio into quiet, serialize output (#3491)
73d2dc1 - test: encapsulate mocha into test runner (#3490)
5410c30 - chore(test): fix tests when using browser path overwrites (#3453)
35fbd58 - test: implement in-process debug mode (#3486)
bc23324 - chore: remove apiName plumbing and some unused methods from server side (#3481)
244c2f3 - feat(rpc): make sure filechooser is only intercepted when needed (#3482)
0c798f0 - fix(testrunner): properly run tests when the first arg is a file (#3472)
69e1e71 - feat(click): provide preview of the element intercepting pointer events (#3449)
85c93e9 - api: introduce ElementHandle.waitForSelector (#3452)
a03c761 - test: unconditionally plumb debug to parent process (#3479)
d537088 - test: deliver colorful debug messages, do not pipe stdio (#3477)
ae4280a - chore: cleanup more non-rpc code (#3471)
dec8fb7 - fix(hover): do not require the element to be enabled before hovering (#3445)
c1de95f - feat(testrunner): pretty error messages (#3469)
2f5a0a6 - test: slowly removing testOptions (#3464)
036cd5c - feat(testrunner): use ring character for skips (#3454)
f45791d - feat(testrunner): support sourcemaps (#3459)
4dde288 - browser(firefox): roll Firefox to August 14 beta (#3465)
ee02702 - test: allow overriding test fixtures, add some test runner tests (#3463)
a64cdcc - feat(webkit): bump to 1326 (#3462)
31fac37 - test: allow overriding the worker fixtures (#3460)
737bfa2 - test(screencast): skip test that depends on accelerated compositing (#3458)
6abc352 - test: remove output and golden directory notions (#3456)
ae5700b - browser(webkit): do not crop video on Mac headless (#3457)
9b52ca8 - chore: remove unused non-rpc code, test options, infra, bots (#3444)
17622754 - feat(testrunner): cache transformed files (#3451)
84441f8 - chore(test): run doclint tests with mocha, delete testrunner again (#3447)
e2cfb05 - test: print stderr upon test failure (#3448)
18b2cf5 - feat(rpc): use rpc protocol for browserType.connect (#3380)
a4eb86c - browser(firefox): update styles when changing color scheme (#3407)
5498ed1 - test: introduce --trial-run mode to capture test model (#3436)
51566590 - chore: add comment to clarify /sbin
c99acd0 - feat(firefox): rollback to 1157 (#3438)
c27e809 - chore: suppress trailing whitespace warning in prepare_checkout (#3441)
4bad89f - test(screencast): do print actual pixels on failure (#3442)
d9727c6 - Typo fix (#3430)
4f05039 - devops: do not fail check when refusing to publish TOT revision (#3443)
84ca012 - test: upload output from headful bots (#3439)
68e6ab8 - test(screencast): test that css animations are recorded (#3427)
4bb2658 - test: fix create output folder (#3431)
51bd370 - Revert "chore(test): run doclint tests with mocha, delete utils/testrunner (#3428)" (#3432)
15fa27e - feat(firefox): roll firefox to r1158 (#3426)
33785eb - chore: add npm i changes (#3413)
061ff25 - chore(test): run doclint tests with mocha, delete utils/testrunner (#3428)
d367735 - feat(testrunner): take the first argument as the test root dir (#3423)
f2088e0 - devops: fix Chromium repackaging to respect symlinks (#3424)
ec24516 - chore(test): remove try/finally pattern from fixtures (#3409)
23f5ed8 - fix(launcher): default to ubuntu20.04 for newer releases (#3400)
f4e65f6 - test: implement spec builder (#3422)
f0fcdc8 - test(firefox): make headful screencast tests work under xvfb (#3421)
06ddacd - docs: introduce doc on authentication (#3404)
eb67c86 - test: fix it.fail().slow is not a function (#3420)
40f6852 - devops: migrate//utils/check_availability.jsoff browser fetcher (#3418)
884cef7 - browser(chromium): roll Chromium to r796653 (#3419)
a4a07c4 - test: support --grep, --forbid-only (#3417)
a574fa6 - api: add Frame.page() getter (#3392)
3a6b5ca - test: add sanity test for playwright-electron (#3387)
adfeaa4 - feat(firefox): bump to 1157 (#3395)
22d1be3 - docs: add showcase how to use allure-report and jest-circus with playwright (#3408)
be7db4d - docs(ci): add sample config for jenkins (#3398)
962ddc0 - test: consolidate runner files (#3415)
7e07634 - test: use mocha in ci/cd (#3406)
079b6e0 - docs: add getting help section (#3410)
16b471f - test(screencast): video recording during cros-process navigation (#3396)
915902c - browser(firefox): roll Firefox to roughly July, 15 (#3411)
1ef199f - fix(launchDoctor): add sudo to install missing packages hint (#3402)
c035560 - fix: full path toldconfigin linux (#3401)
4061bc6 - test: make fit run single test (#3394)
da95b73 - browser(firefox): emit iframe lifecycle when initial navigation fails (#3389)
6054f14 - chore(tests): convert all tests to typescript (#3384)
9375cc6 - docs: introduce docs for page object models (#3391)
55a7848 - fix(types): fix type generation to make ts tests work (#3385)
812d7ee - feat(webkit): bump to 1325 (#3388)
2db97e3 - feat(firefox): migrate to protocol-based proxy implementation (#3362)
bfdb59e - test: make mocha runner work in parallel (#3383)
9697ad6 - fix(chromium): handle the case when new pending comes before old commit (#3370)
ff2c2b2 - test: Fix insertText test title (#3386)
77e75b4 - chore(test): move electron tests to typescript (#3379)
d8d845a - feat(screencast): add private recording APIs and basic test (#3296)
8bb6d73 - feat(rpc): keep non-rpc linux bots for now (#3381)
823ef86 - test: add support for mocha (#3376)
7580360 - feat(firefox): bump to 1156 (#3378)
f254498 - browser(webkit): align GTK implementation with Win (#3377)
d76166b - chore(test): require playwright fixtures from userland (#3355)
82c6843 - feat(webkit): bump to 1324 (#3373)
538daf3 - browser(firefox): exclude frame from screencast video (#3372)
6c68435 - docs: make api docs around pointer actions more explicit (#3374)
8f30d15 - devops: re-packge chromium on windows withoutinteractive_ui_tests.exe(#3375)
3179e71 - feat(rpc): in-process rpc on by default (#3104)
1b8128e - installer: start downloading Chromium archives from our CDN (#3361)
ef76f5b - feat(rpc): introduce JSON type in the protocol for arbitrary blobs (#3367)
6f3f608 - docs(showcase.md): add Accessibilty Insights to community showcase (#3368)
89ae8e0 - browser(webkit): disable accelerated compositing on Windows (#3360)
6f09590 - test: restore nojest runner (#3359)
c6acc32 - docs(api): explicit nulls, use Serializable and EvaluationArgument more (#3358)
6a19bf5 - docs(showcase): add expected-condtion-playwright library (#3356)
2a0cbda - devops: mirror chromium builds to our CDN (#3357)
69c88d8 - feat(rpc): handle screenshot path on the client (#3352)
7e2cc77 - test: add a test for newCDPSession rejecting on non-pages (#3353)
83f5628 - feat(rpc): misc fixes (#3351)
a225447 - browser(firefox): introduce global proxy (#3335)
ddd483b - browser(webkit): correctly record video in headless mode Windows (#3354)
f6d321f - test: do not inherit from the Node environment (#3348)
b3091de - fix(cors): allow routing the cors request with credentials (#3336)
eac8aee - chore(types): convert tests to typescript part 3 (#3340)
1bcbf19 - test(video): mark test as failing in WebKit Linux (#3344)
3665bb0 - docs(api): remove extra closing square bracket, add an opening square bracket. (#3342)
9d543f9 - docs: fix typo in Core Concepts doc page (#3343)
4ec3290 - docs(api): replace select-all note with example (#3328)
411c738 - feat(firefox): roll to r1154 (#3333)
434b9e1 - devops: support EXPORT_COMPILE_COMMANDS env variable in webkit build.sh (#3334)
c9409bf - fix(types): add missing properties to DeviceDescriptor (#3332)
83ac3f4 - chore(test): convert some more tests to typescript (#3329)
ca3bd5e - browser(firefox): roll Firefox to June, 24 (#3327)
4b3fb6d - chore(test): convert tests to typescript (1) (#3307)
8716a54 - docs: fix for documentation link in the README.md (#3324)
cdfe73f - api(console): make ConsoleMessageLocation properties required (#3290)
5c0b88f - feat(test): add dot report for aslushnikov (#3317)
0a5d340 - test: print failed tests upon interrupt (#3316)
5f7b546 - test: overridden timezone does not change default in another context (#3313)
9effb32 - browser(firefox): always create new process rather than reuse one (#3312)
c45f7af - feat(firefox): bump to 1152 (#3302)
4956054 - test: bump jest to 26.2 - per-test progress, slow thresholds (#3314)
aa2ec09 - test: default and overriden locale isolation between contexts (#3308)
e582cc6 - fix(launcher): make PrintDeps.exe path configurable (#3311)1.3.0
6 Aug 2020Python support: Official Playwright for Python is ready for preview!
Validate system dependencies: Playwright now automatically checks for browser dependencies on Linux and Windows systems.
Ubuntu 20.04: Playwright now provides browser builds for Ubuntu 20.04.
Highlights
Python support: Official Playwright for Python is ready for preview!
Use the Pytest plugin to write your end-to-end tests in Python.
Validate system dependencies: Playwright now automatically checks for browser dependencies on Linux and Windows systems.
Ubuntu 20.04: Playwright now provides browser builds for Ubuntu 20.04.
Browser Versions
Chromium 86.0.4217.0
Mozilla Firefox 78.0b5
WebKit 14.0
New APIs
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.