After executing the handler added with page.addLocatorHandler(), Playwright will now wait until the overlay that triggered the handler is not visible anymore. You can opt-out of this behavior with the new noWaitAfter option.
You can use new times option in page.addLocatorHandler() to specify maximum number of times the handler should be run.
const locator = page.getByText('This interstitial covers the button');
await page.addLocatorHandler(locator, async overlay => {
await overlay.locator('#close').click();
}, { times: 3, noWaitAfter: true });
// Run your tests that can be interrupted by the overlay.
// ...
await page.removeLocatorHandler(locator);
Miscellaneous options
multipart option in apiRequestContext.fetch() now accepts FormData and supports repeating fields with the same name.
const formData = new FormData();
formData.append('file', new File(['let x = 2024;'], 'f1.js', { type: 'text/javascript' }));
formData.append('file', new File(['hello'], 'f2.txt', { type: 'text/plain' }));
context.request.post('https://example.com/uploadFiles', {
multipart: formData
👹 close #11778 improve unregister omit key with getValues method (#11779)
🐞 fix #11794 issue: Fields dirty state is not updated when passing values to useForm
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the dev-dependencies group with 6 updates in the / directory:
1.43.1
1.44.0
20.12.8
20.12.11
9.1.1
9.2.0
17.0.1
17.0.2
0.4.6
0.4.7
7.51.3
7.51.4
Updates
@playwright/test
from 1.43.1 to 1.44.0Release notes
Sourced from
@playwright/test
's releases.... (truncated)
Commits
a6aa50b
chore: set version to 1.44.0 (#30680)54c157d
cherry-pick(#30677): chore: print resolved host in the http server te… (#30679)2d437e8
cherry-pick(#30646): feat(chromium): roll to r1117 (#30652)7637399
cherry-pick(#30636): fix(role): extract tagName safely (#30639)9e091e7
cherry-pick(#30611): chore: add common env vars for junit and json re… (#30624)154694b
chore: update playwright-browsers to Mar 19 (#30599)fa7d4e5
docs: releae notes 1.44 for js (#30596)b9f70f4
docs(junit): document existing options and env (#30595)fb90797
fix(last-run): remove globalOutputDir (#30571)96f3d19
feat(ctrl_or_meta): add a universal ctrl-meta modifier (#30572)Updates
@types/node
from 20.12.8 to 20.12.11Commits
Updates
eslint
from 9.1.1 to 9.2.0Release notes
Sourced from eslint's releases.
Changelog
Sourced from eslint's changelog.
Commits
271e7ab
9.2.0989ac9d
Build: changelog update for 9.2.0b346605
chore: upgrade@eslint/js
@9
.2.0 (#18413)c4c18e0
chore: package.json update for@eslint/js
release284722c
chore: package.json update for eslint-config-eslint release0f5df50
docs: Update README347d44f
chore: remove eslintrc export from eslint-config-eslint (#18400)8485d76
feat:no-case-declarations
add suggestions (#18388)a498f35
feat: update Unicode letter detection in capitalized-comments rule (#18375)1579ce0
docs: update wording regarding indirect eval (#18394)Updates
sinon
from 17.0.1 to 17.0.2Changelog
Sourced from sinon's changelog.
... (truncated)
Commits
16a25ae
17.0.2f6dca0b
upgrade packages (#2595)5025d00
Avoid return and callArg* clearing each other's state (#2593)ed068a8
Bump ip from 1.1.8 to 1.1.9 (#2587)ec4d592
fix #2589: avoid invoking getter as side-effect (#2592)9972e1e
Fix typo in mocks documentation (#2591)52e6e4c
chore: prefer cache option of setup-node08da123
Bump actions/cache from 3 to 4404ef47
Bump nokogiri from 1.14.3 to 1.16.2fd79612
Update Bug_report.mdUpdates
eslint-plugin-react-refresh
from 0.4.6 to 0.4.7Release notes
Sourced from eslint-plugin-react-refresh's releases.
Changelog
Sourced from eslint-plugin-react-refresh's changelog.
Commits
70dcd5a
Supportexport { Component as default }
(fixes #41) [publish]Updates
react-hook-form
from 7.51.3 to 7.51.4Release notes
Sourced from react-hook-form's releases.
Commits
8307aea
7.51.47cdad77
👹 close #11778 improve unregister omit key with getValues method (#11779)541d41f
🩻 update README.md (#11776)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show