chore(deps): bump playwright from 1.35.0 to 1.43.1 in /pnpm
Bumps playwright from 1.35.0 to 1.43.1.
Release notes
Sourced from playwright's releases.
v1.43.1
Highlights
microsoft/playwright#30300 - [REGRESSION]: UI mode restarts if keep storage state microsoft/playwright#30339 - [REGRESSION]: Brand new install of playwright, unable to run chromium with show browser using vscode
Browser Versions
- Chromium 124.0.6367.29
- Mozilla Firefox 124.0
- WebKit 17.4
This version was also tested against the following stable channels:
- Google Chrome 123
- Microsoft Edge 123
v1.43.0
New APIs
Method browserContext.clearCookies() now supports filters to remove only some cookies.
// Clear all cookies. await context.clearCookies(); // New: clear cookies with a particular name. await context.clearCookies({ name: 'session-id' }); // New: clear cookies for a particular domain. await context.clearCookies({ domain: 'my-origin.com' });
New mode
retain-on-first-failure
for testOptions.trace. In this mode, trace is recorded for the first run of each test, but not for retires. When test run fails, the trace file is retained, otherwise it is removed.import { defineConfig } from '@playwright/test'; export default defineConfig({ use: { trace: 'retain-on-first-failure', }, });
New property testInfo.tags exposes test tags during test execution.
test('example', async ({ page }) => { console.log(test.info().tags); });
New method locator.contentFrame() converts a
Locator
object to aFrameLocator
. This can be useful when you have aLocator
object obtained somewhere, and later on would like to interact with the content inside the frame.
... (truncated)
Commits
-
a051ceb
chore: mark 1.43.1 (#30354) -
3ab466e
cherry-pick(#30312): fix(ui-mode): do not loose run information after writing... -
35468cf
cherry-pick(#30342): Revert "fix(reuse): reset Origin Private File System API... -
5332639
cherry-pick(#30263): docs: add v1.43 release notes for language ports -
c729a7b
cherry-pick(#30232): docs: fix C# and python snippets -
7748e21
cherry-pick(#30210): docs: update context.backgroundPage event examples -
acb6ff1
cherry-pick(#30200): docs(java,csharp): add BrowserContext.backgroundPage(s) -
7c7f8ac
cherry-pick(#30227): chore(deps): bump vite from 5.0.12 to 5.0.13 (#30254) -
62d4dc9
cherry-pick(#30235): feat(chromium): roll to r1112 -
79d4776
cherry-pick(#30226): chore: migrate to the testserver.initialize - Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by yurys, a new releaser for playwright since your current version.
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
@dependabot-bot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts