chore(deps): update playwright to v1.47.0
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| playwright (source) | minor |
1.46.1 -> 1.47.0
|
|
| playwright (source) | devDependencies | minor | ^1.46.1 -> ^1.47.0 |
| playwright-core (source) | devDependencies | minor | ^1.46.1 -> ^1.47.0 |
MR created with the help of gitlab-org/frontend/renovate-gitlab-bot
Release Notes
microsoft/playwright (playwright)
v1.47.0
Network Tab improvements
The Network tab in the UI mode and trace viewer has several nice improvements:
- filtering by asset type and URL
- better display of query string parameters
- preview of font assets
Credit to @kubajanik for these wonderful improvements!
--tsconfig CLI option
By default, Playwright will look up the closest tsconfig for each imported file using a heuristic. You can now specify a single tsconfig file in the command line, and Playwright will use it for all imported files, not only test files:
##### Pass a specific tsconfig
npx playwright test --tsconfig tsconfig.test.json
APIRequestContext now accepts URLSearchParams and string as query parameters
You can now pass URLSearchParams and string as query parameters to APIRequestContext:
test('query params', async ({ request }) => {
const searchParams = new URLSearchParams();
searchParams.set('userId', 1);
const response = await request.get(
'https://jsonplaceholder.typicode.com/posts',
{
params: searchParams // or as a string: 'userId=1'
}
);
// ...
});
Miscellaneous
- The
mcr.microsoft.com/playwright:v1.47.0now serves a Playwright image based on Ubuntu 24.04 Noble. To use the 22.04 jammy-based image, please usemcr.microsoft.com/playwright:v1.47.0-jammyinstead. - The
:latest/:focal/:jammytag for Playwright Docker images is no longer being published. Pin to a specific version for better stability and reproducibility. - New option
behaviorin page.removeAllListeners(), browser.removeAllListeners() and browserContext.removeAllListeners() to wait for ongoing listeners to complete. - TLS client certificates can now be passed from memory by passing
certandkeyas buffers instead of file paths. - Attachments with a
text/htmlcontent type can now be opened in a new tab in the HTML report. This is useful for including third-party reports or other HTML content in the Playwright test report and distributing it to your team. -
noWaitAfterin locator.selectOption() was deprecated. - We've seen reports of WebGL in Webkit misbehaving on GitHub Actions
macos-13. We recommend upgrading GitHub Actions tomacos-14.
Browser Versions
- Chromium 129.0.6668.29
- Mozilla Firefox 130.0
- WebKit 18.0
This version was also tested against the following stable channels:
- Google Chrome 128
- Microsoft Edge 128
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.