Bump playwright from 1.35.1 to 1.41.0 in /browser
Bumps playwright from 1.35.1 to 1.41.0.
Release notes
Sourced from playwright's releases.
v1.41.0
New APIs
- New method page.unrouteAll([options]) removes all routes registered by page.route(url, handler, handler[, options]) and page.routeFromHAR(har[, options]). Optionally allows to wait for ongoing routes to finish, or ignore any errors from them.
- New method browserContext.unrouteAll([options]) removes all routes registered by browserContext.route(url, handler, handler[, options]) and browserContext.routeFromHAR(har[, options]). Optionally allows to wait for ongoing routes to finish, or ignore any errors from them.
- New option
style
in page.screenshot([options]) and locator.screenshot([options]) to add custom CSS to the page before taking a screenshot.- New option
stylePath
for methods expect(page).toHaveScreenshot(name[, options]) and expect(locator).toHaveScreenshot(name[, options]) to apply a custom stylesheet while making the screenshot.- New
fileName
option for Blob reporter, to specify the name of the report to be created.Browser Versions
- Chromium 121.0.6167.57
- Mozilla Firefox 121.0
- WebKit 17.4
This version was also tested against the following stable channels:
- Google Chrome 120
- Microsoft Edge 120
v1.40.1
Highlights
microsoft/playwright#28319 - [REGRESSION]: Version 1.40.0 Produces corrupted traces microsoft/playwright#28371 - [BUG] The color of the 'ok' text did not change to green in the vs code test results section microsoft/playwright#28321 - [BUG] Ambiguous test outcome and status for serial mode microsoft/playwright#28362 - [BUG] Merging blobs ends up in Error: Cannot create a string longer than 0x1fffffe8 characters microsoft/playwright#28239 - fix: collect all errors in removeFolders
Browser Versions
- Chromium 120.0.6099.28
- Mozilla Firefox 119.0
- WebKit 17.4
This version was also tested against the following stable channels:
- Google Chrome 119
- Microsoft Edge 119
v1.40.0
Test Generator Update
New tools to generate assertions:
- "Assert visibility" tool generates expect(locator).toBeVisible().
- "Assert value" tool generates expect(locator).toHaveValue(value).
- "Assert text" tool generates expect(locator).toContainText(text).
Here is an example of a generated test with assertions:
import { test, expect } from '@playwright/test'; </tr></table>
... (truncated)
Commits
-
38d699f
chore: mark 1.41.0 (#29007) -
cd922d1
chore: update browser patches to 03ca0a7 (#28974) -
01af7e5
docs(release-notes): add v1.41 release notes (#28697) -
d4329bb
docs: add example of data isolation between parallel tests (#28958) -
48317af
feat(trace): preserve noscript when javascript is disabled (#28971) -
7670fd2
fix(esm): >= Node.js 21 globalPreload -> initialize (#28526) -
37634df
docs: note that opacity:0 still counts as visible element (#28965) -
90665ef
docs: update auto-waiting doc (#28960) -
808359b
fix(driver): add external commands only for JS binding (#28968) -
8936885
fix(chromium): preserve header overrides in redirects (#28962) - 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 rebase
will rebase this MR -
$dependabot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts