Bump @playwright/test from 1.34.3 to 1.35.0
Bumps @playwright/test from 1.34.3 to 1.35.0.
Release notes
Sourced from @playwright/test
's releases.
v1.35.0
Highlights
UI mode is now available in VSCode Playwright extension via a new "Show trace viewer" button:
UI mode and trace viewer mark network requests handled with
page.route()
andbrowserContext.route()
handlers, as well as those issued via the API testing:New option
maskColor
for 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
uninstall
CLI 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-core
binary got renamed fromplaywright
toplaywright-core
. So if you useplaywright-core
CLI, 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/test
andplaywright
package 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
... (truncated)
Commits
-
a2798c3
chore: mark 1.35.0 (#23581) -
745e200
cherry-pick(#23606) docs: fix images for release notes -
f28d156
cherry-pick(#23582): docs: enhance UI mode docs (#23604) -
3e94abe
cherry-pick(#23593): feat(chromium): roll to r1067 (#23599) -
f411348
cherry-pick(#23583): chore: do not show select item when Show trace -
e0c4576
docs: add a note about CodeSpaces UI mode (#23580) -
4f8680f
fix(pause): revert timeouts after pause (#23578) -
eda1093
docs: js release notes 1.35 (#23560) -
7d22015
chore(devops): add check status for report merger to PRs (#23564) -
0b30f20
chore: make trace server work over http (#23561) - Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
@dependabot-bot rebase
will rebase this MR. Deprecated, use GitLab's native /rebase instead -
@dependabot-bot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts