Mend Renovate 
This PR contains the following updates:
Release Notes
Microsoft/playwright
Compare Source 
Highlights
- 
UI mode is now available in VSCode Playwright extension via a new "Show trace viewer" button: Playwright UI Mode  
- 
UI mode and trace viewer mark network requests handled with page.route()andbrowserContext.route()handlers, as well as those issued via the API testing:
 Trace Viewer  
- 
New option maskColorfor methodspage.screenshot(),locator.screenshot(),expect(page).toHaveScreenshot()andexpect(locator).toHaveScreenshot()to change default masking color:
 await page.goto('https://playwright.dev');
await expect(page).toHaveScreenshot({
 mask: [page.locator('img')],
 maskColor: '#​00FF00', // green
});
- 
New uninstallCLI command to uninstall browser binaries:
 $ npx playwright uninstall # remove browsers installed by this installation
$ npx playwright uninstall --all # remove all ever-install Playwright browsers 
- 
Both UI mode and trace viewer now could be opened in a browser tab: $ npx playwright test --ui-port 0 # open UI mode in a tab on a random port
$ npx playwright show-trace --port 0 # open trace viewer in tab on a random port 
⚠️ Breaking changes
- 
playwright-corebinary got renamed fromplaywrighttoplaywright-core. So if you useplaywright-coreCLI, make sure to update the name:
 $ npx playwright-core install # the new way to install browsers when using playwright-core 
This change does not affect @playwright/testandplaywrightpackage users.
 
Browser Versions
- Chromium 115.0.5790.13
- Mozilla Firefox 113.0
- WebKit 16.4
This version was also tested against the following stable channels:
- Google Chrome 114
- Microsoft Edge 114
Compare Source 
Highlights
https://github.com/microsoft/playwright/issues/23228 - [BUG] Getting "Please install @playwright/test package..." after upgrading from 1.34.0 to 1.34.1
Browser Versions
- Chromium 114.0.5735.26
- Mozilla Firefox 113.0
- WebKit 16.4
This version was also tested against the following stable channels:
- Google Chrome 113
- Microsoft Edge 113
Compare Source 
Highlights
https://github.com/microsoft/playwright/issues/23225 - [BUG] VSCode Extension broken with Playwright 1.34.1
Browser Versions
- Chromium 114.0.5735.26
- Mozilla Firefox 113.0
- WebKit 16.4
This version was also tested against the following stable channels:
- Google Chrome 113
- Microsoft Edge 113
Compare Source 
Highlights
https://github.com/microsoft/playwright/issues/23186 - [BUG] Container image for v1.34.0 missing library for webkithttps://github.com/microsoft/playwright/issues/232066 - [BUG] Unable to install supported browsers for v1.34.0 from playwright-corhttps://github.com/microsoft/playwright/issues/2320707 - [BUG] importing ES Module JSX component is broken since 1.34
Browser Versions
- Chromium 114.0.5735.26
- Mozilla Firefox 113.0
- WebKit 16.4
This version was also tested against the following stable channels:
- Google Chrome 113
- Microsoft Edge 113
Compare Source 
Highlights
- 
UI Mode now shows steps, fixtures and attachments:   
- 
New property testProject.teardownto specify a project that needs to run after this
 and all dependent projects have finished. Teardown is useful to cleanup any resources acquired by this project.
 A common pattern would be a setupdependency with a correspondingteardown:
 // playwright.config.ts
import { defineConfig } from '@​playwright/test';
export default defineConfig({
 projects: [
 {
 name: 'setup',
 testMatch: /global.setup\.ts/,
 teardown: 'teardown',
 },
 {
 name: 'teardown',
 testMatch: /global.teardown\.ts/,
 },
 {
 name: 'chromium',
 use: devices['Desktop Chrome'],
 dependencies: ['setup'],
 },
 {
 name: 'firefox',
 use: devices['Desktop Firefox'],
 dependencies: ['setup'],
 },
 {
 name: 'webkit',
 use: devices['Desktop Safari'],
 dependencies: ['setup'],
 },
 ],
});
- 
New method expect.configureto create pre-configured expect instance with its own defaults such astimeoutandsoft.
 const slowExpect = expect.configure({ timeout: 10000 });
await slowExpect(locator).toHaveText('Submit');
// Always do soft assertions.
const softExpect = expect.configure({ soft: true });
- 
New options stderrandstdoutintestConfig.webServerto configure output handling:
 // playwright.config.ts
import { defineConfig } from '@​playwright/test';
export default defineConfig({
 // Run your local dev server before starting the tests
 webServer: {
 command: 'npm run start',
 url: 'http://127.0.0.1:3000',
 reuseExistingServer: !process.env.CI,
 stdout: 'pipe',
 stderr: 'pipe',
 },
});
- 
New locator.and()to create a locator that matches both locators.
 const button = page.getByRole('button').and(page.getByTitle('Subscribe'));
- 
New events browserContext.on('console')andbrowserContext.on('dialog')to subscribe to any dialogs
 and console messages from any page from the given browser context. Use the new methodsconsoleMessage.page()
 anddialog.page()to pin-point event source.
 
⚠️ Breaking changes
- 
npx playwright testno longer works if you install bothplaywrightand@playwright/test. There's no need
 to install both, since you can always import browser automation APIs from@playwright/testdirectly:
 // automation.ts
import { chromium, firefox, webkit } from '@​playwright/test';
/* ... */
- 
Node.js 14 is no longer supported since it reached its end-of-life on April 30, 2023. 
Browser Versions
- Chromium 114.0.5735.26
- Mozilla Firefox 113.0
- WebKit 16.4
This version was also tested against the following stable channels:
- Google Chrome 113
- Microsoft Edge 113
 
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.
  
 
Uh oh!
There was an error while loading. Please reload this page.
Mend Renovate
This PR contains the following updates:
1.33.0->1.35.0Release Notes
Microsoft/playwright
v1.35.0Compare Source
Highlights
UI mode is now available in VSCode Playwright extension via a new "Show trace viewer" button:
Playwright UI Mode
UI mode and trace viewer mark network requests handled with
page.route()andbrowserContext.route()handlers, as well as those issued via the API testing:Trace Viewer
New option
maskColorfor methodspage.screenshot(),locator.screenshot(),expect(page).toHaveScreenshot()andexpect(locator).toHaveScreenshot()to change default masking color:New
uninstallCLI command to uninstall browser binaries:Both UI mode and trace viewer now could be opened in a browser tab:
playwright-corebinary got renamed fromplaywrighttoplaywright-core. So if you useplaywright-coreCLI, make sure to update the name:$ npx playwright-core install # the new way to install browsers when using playwright-coreThis change does not affect
@playwright/testandplaywrightpackage users.Browser Versions
This version was also tested against the following stable channels:
v1.34.3Compare Source
Highlights
https://github.com/microsoft/playwright/issues/23228 - [BUG] Getting "Please install @playwright/test package..." after upgrading from 1.34.0 to 1.34.1
Browser Versions
This version was also tested against the following stable channels:
v1.34.2Compare Source
Highlights
https://github.com/microsoft/playwright/issues/23225 - [BUG] VSCode Extension broken with Playwright 1.34.1
Browser Versions
This version was also tested against the following stable channels:
v1.34.1Compare Source
Highlights
https://github.com/microsoft/playwright/issues/23186 - [BUG] Container image for v1.34.0 missing library for webkithttps://github.com/microsoft/playwright/issues/232066 - [BUG] Unable to install supported browsers for v1.34.0 from playwright-corhttps://github.com/microsoft/playwright/issues/2320707 - [BUG] importing ES Module JSX component is broken since 1.34
Browser Versions
This version was also tested against the following stable channels:
v1.34.0Compare Source
Highlights
UI Mode now shows steps, fixtures and attachments:
New property
testProject.teardownto specify a project that needs to run after thisand all dependent projects have finished. Teardown is useful to cleanup any resources acquired by this project.
A common pattern would be a
setupdependency with a correspondingteardown:New method
expect.configureto create pre-configured expect instance with its own defaults such astimeoutandsoft.New options
stderrandstdoutintestConfig.webServerto configure output handling:New
locator.and()to create a locator that matches both locators.New events
browserContext.on('console')andbrowserContext.on('dialog')to subscribe to any dialogsand console messages from any page from the given browser context. Use the new methods
consoleMessage.page()and
dialog.page()to pin-point event source.npx playwright testno longer works if you install bothplaywrightand@playwright/test. There's no needto install both, since you can always import browser automation APIs from
@playwright/testdirectly:Node.js 14 is no longer supported since it reached its end-of-life on April 30, 2023.
Browser Versions
This version was also tested against the following stable channels:
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.