[Snyk] Upgrade playwright from 1.50.0 to 1.54.1 #21
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade playwright from 1.50.0 to 1.54.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 257 versions ahead of your current version.
The recommended version was released a month ago.
Issues fixed by the recommended upgrade:
SNYK-JS-BABELHELPERS-9397697
SNYK-JS-BABELRUNTIME-10044504
SNYK-JS-TMP-11501554
SNYK-JS-BRACEEXPANSION-9789073
Release notes
Package name: playwright
-
1.54.1 - 2025-07-11
- Chromium 139.0.7258.5
- Mozilla Firefox 140.0.2
- WebKit 26.0
- Google Chrome 140
- Microsoft Edge 140
-
1.54.1-beta-1753993012000 - 2025-07-31
-
1.54.1-beta-1753992917000 - 2025-07-31
-
1.54.1-beta-1753912139000 - 2025-07-30
-
1.54.1-beta-1753904397000 - 2025-07-30
-
1.54.1-beta-1753117034000 - 2025-07-21
-
1.54.1-beta-1752237287000 - 2025-07-11
-
1.54.0 - 2025-07-10
-
-
import { defineConfig } from '@ playwright/test';
-
-
-
-
- Support for Node.js 16 has been removed.
- Support for Node.js 18 has been deprecated, and will be removed in the future.
- Chromium 139.0.7258.5
- Mozilla Firefox 140.0.2
- WebKit 26.0
- Google Chrome 140
- Microsoft Edge 140
-
1.54.0-beta-1752237221000 - 2025-07-11
-
1.54.0-beta-1752093008000 - 2025-07-09
-
1.54.0-beta-1752089583000 - 2025-07-09
-
1.54.0-beta-1752081918000 - 2025-07-09
-
1.54.0-beta-1752075907000 - 2025-07-09
-
1.54.0-alpha-2025-07-09 - 2025-07-09
-
1.54.0-alpha-2025-07-08 - 2025-07-08
-
1.54.0-alpha-2025-07-07 - 2025-07-07
-
1.54.0-alpha-2025-07-06 - 2025-07-06
-
1.54.0-alpha-2025-07-05 - 2025-07-05
-
1.54.0-alpha-2025-07-04 - 2025-07-04
-
1.54.0-alpha-2025-07-03 - 2025-07-03
-
1.54.0-alpha-2025-07-02 - 2025-07-02
-
1.54.0-alpha-2025-07-01 - 2025-07-01
-
1.54.0-alpha-2025-06-30 - 2025-06-30
-
1.54.0-alpha-2025-06-29 - 2025-06-29
-
1.54.0-alpha-2025-06-28 - 2025-06-28
-
1.54.0-alpha-2025-06-27 - 2025-06-27
-
1.54.0-alpha-2025-06-26 - 2025-06-26
-
1.54.0-alpha-2025-06-25 - 2025-06-25
-
1.54.0-alpha-2025-06-24 - 2025-06-24
-
1.54.0-alpha-2025-06-23 - 2025-06-23
-
1.54.0-alpha-2025-06-22 - 2025-06-22
-
1.54.0-alpha-2025-06-21 - 2025-06-21
-
1.54.0-alpha-2025-06-20 - 2025-06-20
-
1.54.0-alpha-2025-06-19 - 2025-06-19
-
1.54.0-alpha-2025-06-18 - 2025-06-18
-
1.54.0-alpha-2025-06-17 - 2025-06-17
-
1.54.0-alpha-2025-06-16 - 2025-06-16
-
1.54.0-alpha-2025-06-15 - 2025-06-15
-
1.54.0-alpha-2025-06-14 - 2025-06-14
-
1.54.0-alpha-2025-06-13 - 2025-06-13
-
1.54.0-alpha-2025-06-12 - 2025-06-12
-
1.54.0-alpha-2025-06-11 - 2025-06-11
-
1.54.0-alpha-2025-06-10 - 2025-06-10
-
1.54.0-alpha-2025-06-09 - 2025-06-09
-
1.54.0-alpha-2025-06-08 - 2025-06-08
-
1.54.0-alpha-2025-06-07 - 2025-06-07
-
1.54.0-alpha-2025-06-06 - 2025-06-06
-
1.54.0-alpha-2025-06-05 - 2025-06-05
-
1.54.0-alpha-1750421372000 - 2025-06-20
-
1.53.2 - 2025-06-30
- Chromium 138.0.7204.23
- Mozilla Firefox 139.0
- WebKit 18.5
- Google Chrome 137
- Microsoft Edge 137
-
1.53.2-beta-1751304415000 - 2025-06-30
-
1.53.1 - 2025-06-18
- Chromium 138.0.7204.23
- Mozilla Firefox 139.0
- WebKit 18.5
- Google Chrome 137
- Microsoft Edge 137
-
1.53.1-beta-1751298897000 - 2025-06-30
-
1.53.1-beta-1751031896000 - 2025-06-27
-
1.53.1-beta-1750959021000 - 2025-06-26
-
1.53.1-beta-1750266365000 - 2025-06-18
-
1.53.0 - 2025-06-10
-
-
import { defineConfig } from '@ playwright/test';
-
-
-
- Chromium 138.0.7204.4
- Mozilla Firefox 139.0
- WebKit 18.5
- Google Chrome 137
- Microsoft Edge 137
-
1.53.0-beta-1750256298000 - 2025-06-18
-
1.53.0-beta-1750239735000 - 2025-06-18
-
1.53.0-beta-1750231420000 - 2025-06-18
-
1.53.0-beta-1750065448000 - 2025-06-16
-
1.53.0-beta-1749576977000 - 2025-06-10
-
1.53.0-beta-1749561194000 - 2025-06-10
-
1.53.0-beta-1749559519000 - 2025-06-10
-
1.53.0-beta-1749221468000 - 2025-06-06
-
1.53.0-beta-1749220087000 - 2025-06-06
-
1.53.0-beta-1749196293000 - 2025-06-06
-
1.53.0-beta-1749141818000 - 2025-06-05
-
1.53.0-beta-1749131401000 - 2025-06-05
-
1.53.0-beta-1749049851000 - 2025-06-04
-
1.53.0-alpha-2025-06-04 - 2025-06-04
-
1.53.0-alpha-2025-06-03 - 2025-06-03
-
1.53.0-alpha-2025-06-02 - 2025-06-02
-
1.53.0-alpha-2025-06-01 - 2025-06-01
-
1.53.0-alpha-2025-05-31 - 2025-05-31
-
1.53.0-alpha-2025-05-30 - 2025-05-30
-
1.53.0-alpha-2025-05-29 - 2025-05-29
-
1.53.0-alpha-2025-05-28 - 2025-05-28
-
1.53.0-alpha-2025-05-27 - 2025-05-27
-
1.53.0-alpha-2025-05-26 - 2025-05-26
-
1.53.0-alpha-2025-05-25 - 2025-05-25
-
1.53.0-alpha-2025-05-24 - 2025-05-24
-
1.53.0-alpha-2025-05-23 - 2025-05-23
-
1.53.0-alpha-2025-05-22 - 2025-05-22
-
1.53.0-alpha-2025-05-21 - 2025-05-21
-
1.53.0-alpha-2025-05-20 - 2025-05-20
-
1.53.0-alpha-2025-05-19 - 2025-05-19
-
1.53.0-alpha-2025-05-18 - 2025-05-18
-
1.53.0-alpha-2025-05-17 - 2025-05-17
-
1.53.0-alpha-2025-05-16 - 2025-05-16
-
1.53.0-alpha-2025-05-15 - 2025-05-15
-
1.53.0-alpha-2025-05-14 - 2025-05-14
-
1.53.0-alpha-2025-05-13 - 2025-05-13
-
1.53.0-alpha-2025-05-12 - 2025-05-12
-
1.53.0-alpha-2025-05-11 - 2025-05-11
-
1.53.0-alpha-2025-05-10 - 2025-05-10
-
1.53.0-alpha-2025-05-09 - 2025-05-09
-
1.53.0-alpha-2025-05-08 - 2025-05-08
-
1.53.0-alpha-2025-05-07 - 2025-05-07
-
1.53.0-alpha-2025-05-06 - 2025-05-06
-
1.53.0-alpha-2025-05-05 - 2025-05-05
-
1.53.0-alpha-2025-05-04 - 2025-05-04
-
1.53.0-alpha-2025-05-03 - 2025-05-03
-
1.53.0-alpha-2025-05-02 - 2025-05-02
-
1.53.0-alpha-2025-05-01 - 2025-05-01
-
1.53.0-alpha-2025-04-30 - 2025-04-30
-
1.53.0-alpha-2025-04-29 - 2025-04-29
-
1.53.0-alpha-2025-04-28 - 2025-04-28
-
1.53.0-alpha-2025-04-27 - 2025-04-27
-
1.53.0-alpha-2025-04-26 - 2025-04-26
-
1.53.0-alpha-2025-04-25 - 2025-04-25
-
1.53.0-alpha-2025-04-24 - 2025-04-24
-
1.53.0-alpha-2025-04-23 - 2025-04-23
-
1.53.0-alpha-2025-04-22 - 2025-04-22
-
1.53.0-alpha-2025-04-21 - 2025-04-21
-
1.53.0-alpha-2025-04-20 - 2025-04-20
-
1.53.0-alpha-2025-04-19 - 2025-04-19
-
1.53.0-alpha-2025-04-18 - 2025-04-18
-
1.53.0-alpha-2025-04-17 - 2025-04-17
-
1.53.0-alpha-2025-04-16 - 2025-04-16
-
1.53.0-alpha-1748463427000 - 2025-05-28
-
1.53.0-alpha-1746832516000 - 2025-05-09
-
1.53.0-alpha-1746218818000 - 2025-05-02
-
1.53.0-alpha-1745357020000 - 2025-04-22
-
1.53.0-alpha-1745282170000 - 2025-04-22
-
1.53.0-alpha-1744741041000 - 2025-04-15
-
1.52.0 - 2025-04-17
-
-
- New property testProject.workers allows to specify the number of concurrent worker processes to use for a test project. The global limit of property testConfig.workers still applies.
- New testConfig.failOnFlakyTests option to fail the test run if any flaky tests are detected, similarly to
- New property testResult.annotations contains annotations for each test retry.
- New option
- HTML reporter now supports NOT filtering via
- Changes to glob URL patterns in methods like page.route():
- Ranges/sets
- Method route.continue() does not allow to override the
- macOS 13 is now deprecated and will no longer receive WebKit updates. Please upgrade to a more recent macOS version to continue benefiting from the latest WebKit improvements.
- Chromium 136.0.7103.25
- Mozilla Firefox 137.0
- WebKit 18.4
- Google Chrome 135
- Microsoft Edge 135
-
1.52.0-beta-1746003413000 - 2025-04-30
-
1.52.0-beta-1745957400000 - 2025-04-29
-
1.52.0-beta-1744907613000 - 2025-04-17
-
1.52.0-beta-1744901303000 - 2025-04-17
-
1.52.0-beta-1744901255000 - 2025-04-17
-
1.52.0-beta-1744820742000 - 2025-04-16
-
1.52.0-beta-1744803648000 - 2025-04-16
-
1.52.0-beta-1744787339000 - 2025-04-16
-
1.52.0-beta-1744732215000 - 2025-04-15
-
1.52.0-beta-1744700862000 - 2025-04-15
-
1.52.0-alpha-2025-04-15 - 2025-04-15
-
1.52.0-alpha-2025-04-14 - 2025-04-14
-
1.52.0-alpha-2025-04-13 - 2025-04-13
-
1.52.0-alpha-2025-04-12 - 2025-04-12
-
1.52.0-alpha-2025-04-10 - 2025-04-10
-
1.52.0-alpha-2025-04-09 - 2025-04-09
-
1.52.0-alpha-2025-04-08 - 2025-04-08
-
1.52.0-alpha-2025-04-07 - 2025-04-07
-
1.52.0-alpha-2025-04-06 - 2025-04-06
-
1.52.0-alpha-2025-04-05 - 2025-04-05
-
1.52.0-alpha-2025-04-04 - 2025-04-04
-
1.52.0-alpha-2025-04-03 - 2025-04-03
-
1.52.0-alpha-2025-04-02 - 2025-04-02
-
1.52.0-alpha-2025-04-01 - 2025-04-01
-
1.52.0-alpha-2025-03-31 - 2025-03-31
-
1.52.0-alpha-2025-03-30 - 2025-03-30
-
1.52.0-alpha-2025-03-29 - 2025-03-29
-
1.52.0-alpha-2025-03-28 - 2025-03-28
-
1.52.0-alpha-2025-03-27 - 2025-03-27
-
1.52.0-alpha-2025-03-26 - 2025-03-26
-
1.52.0-alpha-2025-03-25 - 2025-03-25
-
1.52.0-alpha-2025-03-24 - 2025-03-24
-
1.52.0-alpha-2025-03-23 - 2025-03-23
-
1.52.0-alpha-2025-03-22 - 2025-03-22
-
1.52.0-alpha-2025-03-21 - 2025-03-21
-
1.52.0-alpha-2025-03-20 - 2025-03-20
-
1.52.0-alpha-2025-03-19 - 2025-03-19
-
1.52.0-alpha-2025-03-18 - 2025-03-18
-
1.52.0-alpha-2025-03-17 - 2025-03-17
-
1.52.0-alpha-2025-03-16 - 2025-03-16
-
1.52.0-alpha-2025-03-15 - 2025-03-15
-
1.52.0-alpha-2025-03-14 - 2025-03-14
-
1.52.0-alpha-2025-03-13 - 2025-03-13
-
1.52.0-alpha-2025-03-12 - 2025-03-12
-
1.52.0-alpha-2025-03-11 - 2025-03-11
-
1.52.0-alpha-2025-03-10 - 2025-03-10
-
1.52.0-alpha-2025-03-09 - 2025-03-09
-
1.52.0-alpha-2025-03-08 - 2025-03-08
-
1.52.0-alpha-2025-03-07 - 2025-03-07
-
1.52.0-alpha-2025-03-06 - 2025-03-06
-
1.52.0-alpha-2025-03-05 - 2025-03-05
-
1.52.0-alpha-2025-03-04 - 2025-03-04
-
1.52.0-alpha-2025-03-03 - 2025-03-03
-
1.52.0-alpha-2025-03-02 - 2025-03-02
-
1.52.0-alpha-2025-03-01 - 2025-03-01
-
1.52.0-alpha-1743448135000 - 2025-04-01
-
1.52.0-alpha-1743163434000 - 2025-03-28
-
1.52.0-alpha-1743011787000 - 2025-03-26
-
1.52.0-alpha-1742413711000 - 2025-03-19
-
1.52.0-alpha-1742413599000 - 2025-03-19
-
1.52.0-alpha-1742404918000 - 2025-03-19
-
1.52.0-alpha-1742397713000 - 2025-03-19
-
1.52.0-alpha-1741100475000 - 2025-03-04
-
1.51.1 - 2025-03-17
- Chromium 134.0.6998.35
- Mozilla Firefox 135.0
- WebKit 18.4
- Google Chrome 133
- Microsoft Edge 133
-
1.51.1-beta-1742374234000 - 2025-03-19
-
1.51.1-beta-1742218617000 - 2025-03-17
-
1.51.0 - 2025-03-06
-
// tests/auth.setup.ts

// playwright.config.ts

test('some test', async ({ page, isMobile }) => {
- New option
- New option
- Assertion expect(page).toHaveURL() now supports a predicate.
- Chromium 134.0.6998.35
- Mozilla Firefox 135.0
- WebKit 18.4
- Google Chrome 133
- Microsoft Edge 133
-
1.51.0-beta-1741803045000 - 2025-03-12
-
1.51.0-beta-1741375746000 - 2025-03-07
-
1.51.0-beta-1741261385000 - 2025-03-06
-
1.51.0-beta-1741251928000 - 2025-03-06
-
1.51.0-beta-1741251619000 - 2025-03-06
-
1.51.0-beta-1741236322000 - 2025-03-06
-
1.51.0-beta-1741211717000 - 2025-03-05
-
1.51.0-beta-1741209067000 - 2025-03-05
-
1.51.0-beta-1741194054000 - 2025-03-05
-
1.51.0-beta-1741194042000 - 2025-03-05
-
1.51.0-beta-1741188941000 - 2025-03-05
-
1.51.0-beta-1741188456000 - 2025-03-05
-
1.51.0-beta-1741187196000 - 2025-03-05
-
1.51.0-beta-1741166263000 - 2025-03-05
-
1.51.0-beta-1741166195000 - 2025-03-05
-
1.51.0-beta-1741145440000 - 2025-03-05
-
1.51.0-beta-1741114139000 - 2025-03-04
-
1.51.0-beta-1741105903000 - 2025-03-04
-
1.51.0-beta-1741105440000 - 2025-03-04
-
1.51.0-beta-1740773665000 - 2025-02-28
-
1.51.0-alpha-2025-02-28 - 2025-02-28
-
1.51.0-alpha-2025-02-27 - 2025-02-27
-
1.51.0-alpha-2025-02-26 - 2025-02-26
-
1.51.0-alpha-2025-02-19 - 2025-02-19
-
1.51.0-alpha-2025-02-18 - 2025-02-18
-
1.51.0-alpha-2025-02-17 - 2025-02-17
-
1.51.0-alpha-2025-02-16 - 2025-02-16
-
1.51.0-alpha-2025-02-15 - 2025-02-15
-
1.51.0-alpha-2025-02-14 - 2025-02-14
-
1.51.0-alpha-2025-02-13 - 2025-02-13
-
1.51.0-alpha-2025-02-12 - 2025-02-12
-
1.51.0-alpha-2025-02-11 - 2025-02-11
-
1.51.0-alpha-2025-02-10 - 2025-02-10
-
1.51.0-alpha-2025-02-09 - 2025-02-09
-
1.51.0-alpha-2025-02-08 - 2025-02-08
-
1.51.0-alpha-2025-02-07 - 2025-02-07
-
1.51.0-alpha-2025-02-06 - 2025-02-06
-
1.51.0-alpha-2025-02-05 - 2025-02-05
-
1.51.0-alpha-2025-02-04 - 2025-02-04
-
1.51.0-alpha-2025-02-03 - 2025-02-03
-
1.51.0-alpha-2025-02-02 - 2025-02-02
-
1.51.0-alpha-2025-02-01 - 2025-02-01
-
1.51.0-alpha-2025-01-31 - 2025-01-31
-
1.51.0-alpha-2025-01-30 - 2025-01-30
-
1.51.0-alpha-2025-01-29 - 2025-01-29
-
1.51.0-alpha-2025-01-28 - 2025-01-28
-
1.51.0-alpha-2025-01-27 - 2025-01-27
-
1.51.0-alpha-2025-01-26 - 2025-01-26
-
1.51.0-alpha-2025-01-25 - 2025-01-25
-
1.51.0-alpha-2025-01-24 - 2025-01-24
-
1.51.0-alpha-2025-01-23 - 2025-01-23
-
1.51.0-alpha-2025-01-22 - 2025-01-22
-
1.51.0-alpha-2025-01-21 - 2025-01-21
-
1.51.0-alpha-2025-01-20 - 2025-01-20
-
1.51.0-alpha-2025-01-19 - 2025-01-19
-
1.51.0-alpha-2025-01-18 - 2025-01-18
-
1.51.0-alpha-1740682850000 - 2025-02-27
-
1.51.0-alpha-1740489818000 - 2025-02-25
-
1.50.1 - 2025-01-31
-
1.50.1-beta-1738613447000 - 2025-02-03
-
1.50.1-beta-1738592302000 - 2025-02-03
-
1.50.1-beta-1738589118000 - 2025-02-03
-
1.50.1-beta-1738339353000 - 2025-01-31
-
1.50.0 - 2025-01-23
from playwright GitHub release notesHighlights
#36650 - [Regression]: 1.54.0 breaks downloading browsers when an HTTP(S) proxy is used
Browser Versions
This version was also tested against the following stable channels:
Highlights
New cookie property
partitionKeyin browserContext.cookies() and browserContext.addCookies(). This property allows to save and restore partitioned cookies. See CHIPS MDN article for more information. Note that browsers have different support and defaults for cookie partitioning.New option
noSnippetsto disable code snippets in the html report.export default defineConfig({
reporter: [['html', { noSnippets: true }]]
});
New property
locationin test annotations, for example in testResult.annotations and testInfo.annotations. It shows where the annotation liketest.skiportest.fixmewas added.Command Line
New option
--user-data-dirin multiple commands. You can specify the same user data dir to reuse browsing state, like authentication, between sessions.Option
-gvhas been removed from thenpx playwright testcommand. Use--grep-invertinstead.npx playwright opendoes not open the test recorder anymore. Usenpx playwright codegeninstead.Miscellaneous
Browser Versions
This version was also tested against the following stable channels:
Highlights
#36317 - [Regression]: Merging pre-1.53 blob reports loses attachments
#36357 - [Regression (Chromium)]: CDP missing trailing slash
#36292 - [Bug (MSEdge)]: Edge fails to launch when using
msRelaunchNoCompatLayerBrowser Versions
This version was also tested against the following stable channels:
Highlights
#36339 - [Regression]: Click can fail when scrolling required
#36307 - [Regression (Chromium)]: Under some scenarios filling a
textareadoesn't fill#36294 - [Regression (Firefox)]:
setViewportSizetimes out#36350 - [Fix]: Display HTTP method for fetch trace entries
Browser Versions
This version was also tested against the following stable channels:
Trace Viewer and HTML Reporter Updates
New Steps in Trace Viewer and HTML reporter:

New option in
'html'reporter to set the title of a specific test run:export default defineConfig({
reporter: [['html', { title: 'Custom test run #1028' }]]
});
Miscellaneous
New option
kindin testInfo.snapshotPath() controls which snapshot path template is used.New method locator.describe() to describe a locator. Used for trace viewer and reports.
npx playwright install --listwill now list all installed browsers, versions and locations.Browser Versions
This version was also tested against the following stable channels:
Highlights
New method expect(locator).toContainClass() to ergonomically assert individual class names on the element.
Aria Snapshots got two new properties:
/childrenfor strict matching and/urlfor links.Test Runner
--fail-on-flaky-tests. This is useful for CI/CD environments where you want to ensure that all tests are stable before deploying.Miscellaneous
maxRedirectsin apiRequest.newContext() to control the maximum number of redirects.!@ my-tagor!my-file.spec.tsor!p:my-project.Breaking Changes
?wildcard is not supported any more, it will always match question mark?character.[]are not supported anymore. We recommend using regular expressions instead.Cookieheader anymore. If aCookieheader is provided, it will be ignored, and the cookie will be loaded from the browser's cookie store. To set custom cookies, use browserContext.addCookies().Browser Versions
This version was also tested against the following stable channels:
Highlights
#35093 - [Regression]: TimeoutOverflowWarning: 2149630296.634 does not fit into a 32-bit signed integer
#35138 - [Regression]: TypeError: Cannot read properties of undefined (reading 'expectInfo')
Browser Versions
This version was also tested against the following stable channels:
StorageState for indexedDB
New option
indexedDBfor browserContext.storageState() allows to save and restore IndexedDB contents. Useful when your application uses IndexedDB API to store authentication tokens, like Firebase Authentication.Here is an example following the authentication guide:
import { test as setup, expect } from '@ playwright/test';
import path from 'path';
const authFile = path.join(__dirname, '../playwright/.auth/user.json');
setup('authenticate', async ({ page }) => {
await page.goto('/');
// ... perform authentication steps ...
// make sure to save indexedDB
await page.context().storageState({ path: authFile, indexedDB: true });
});
Copy prompt
New "Copy prompt" button on errors in the HTML report, trace viewer and UI mode. Click to copy a pre-filled LLM prompt that contains the error message and useful context for fixing the error.
Filter visible elements
New option
visiblefor locator.filter() allows matching only visible elements.Git information in HTML report
Set option testConfig.captureGitInfo to capture git information into testConfig.metadata.
import { defineConfig } from '@ playwright/test';
export default defineConfig({
captureGitInfo: { commit: true, diff: true }
});
HTML report will show this information when available:
Test Step improvements
A new TestStepInfo object is now available in test steps. You can add step attachments or skip the step under some conditions.
// Note the new "step" argument:
await test.step('here is my step', async step => {
step.skip(isMobile, 'not relevant on mobile layouts');
});
});
Miscellaneous
contrastfor methods page.emulateMedia() and browser.newContext() allows to emulate theprefers-contrastmedia feature.failOnStatusCodemakes all fetch requests made through the APIRequestContext throw on response codes other than 2xx and 3xx.Browser Versions
This version was also tested against the following stable channels:
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: