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 setNoWaitAfter option.
You can use new setTimes option in page.addLocatorHandler() to specify maximum number of times the handler should be run.
Locator locator = page.getByText("This interstitial covers the button");
page.addLocatorHandler(locator, overlay -> {
overlay.locator("#close").click();
}, new Page.AddLocatorHandlerOptions().setTimes(3).setNoWaitAfter(true));
// Run your tests that can be interrupted by the overlay.
// ...
page.removeLocatorHandler(locator);
Miscellaneous options
New method formData.append() allows to specify repeating fields with the same name in setMultipart option in RequestOptions:
FormData formData = FormData.create();
formData.append("file", new FilePayload("f1.js", "text/javascript",
"var x = 2024;".getBytes(StandardCharsets.UTF_8)));
formData.append("file", new FilePayload("f2.txt", "text/plain",
"hello".getBytes(StandardCharsets.UTF_8)));
Updates org.apache.commons:commons-compress from 1.26.1 to 1.26.2
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 maven-low-risk group with 4 updates: org.apache.maven.plugins:maven-javadoc-plugin, org.sonatype.plugins:nexus-staging-maven-plugin, com.microsoft.playwright:playwright and org.apache.commons:commons-compress.
Updates
org.apache.maven.plugins:maven-javadoc-plugin
from 3.6.3 to 3.7.0Commits
2c28b8d
[maven-release-plugin] prepare release maven-javadoc-plugin-3.7.05530d68
[MJAVADOC-793] java.lang.NullPointerException: Cannot invoke "String.length()...08cf68e
Revert "Bump org.codehaus.plexus:plexus-archiver from 4.9.1 to 4.9.2"6446822
Bump org.apache.maven.shared:maven-invoker from 3.2.0 to 3.3.049c93ad
Bump org.assertj:assertj-core from 3.25.3 to 3.26.04e72048
[MJAVADOC-795] Upgrade to Parent 42 and Maven 3.6.3b55dd96
Bump org.codehaus.plexus:plexus-archiver from 4.9.1 to 4.9.277ad410
Bump org.apache.commons:commons-text from 1.11.0 to 1.12.0c21568a
Bump commons-io:commons-io from 2.16.0 to 2.16.1ded56a9
Exclude JDK 8 - temurin, adopt-openj9 on macosUpdates
org.sonatype.plugins:nexus-staging-maven-plugin
from 1.6.13 to 1.7.0Updates
com.microsoft.playwright:playwright
from 1.43.0 to 1.44.0Release notes
Sourced from com.microsoft.playwright:playwright's releases.
... (truncated)
Commits
af2dd24
chore: set version 1.44.0 (#1578)75062c4
chore: roll 1.44.0 (#1575)c9ea56a
devops: stop producing .sha256 files, they are not required anymore (#1570)e4c427a
devops: fix ESRP publishing (#1569)0471c5e
devops: update to EsrpRelease@7 (#1566)5636edf
test: ControlOrMeta modifier (#1564)abfe50c
chore(deps): bump org.apache.maven.plugins:maven-jar-plugin from 3.3.0 to 3.4...d723646
chore: roll driver to 1.44.0-beta-1714435420000 (#1563)fe51fb4
chore(deps): bump org.apache.maven.plugins:maven-install-plugin from 3.1.1 to...764cc8c
chore(deps): bump org.apache.maven.plugins:maven-deploy-plugin from 3.1.1 to ...Updates
org.apache.commons:commons-compress
from 1.26.1 to 1.26.2Dependabot 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