Update dependency com.microsoft.playwright:playwright to v1.55.0 #309
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.
This PR contains the following updates:
1.49.0->1.55.0Release Notes
microsoft/playwright-java (com.microsoft.playwright:playwright)
v1.55.0Compare Source
Codegen
isVisible()assertions: Codegen can now generate automaticisVisible()assertions for common UI interactions. This feature can be enabled in the Codegen settings UI.Breaking Changes
Miscellaneous
Browser Versions
This version was also tested against the following stable channels:
v1.54.0Compare Source
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
--user-data-dirin multiple commands. You can specify the same user data dir to reuse browsing state, like authentication, between sessions.mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI -D exec.args="codegen --user-data-dir=./user-data"mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI -D exec.args=opencommand does not open the test recorder anymore. Usemvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI -D exec.args=codegeninstead.Browser Versions
This version was also tested against the following stable channels:
v1.53.0Miscellaneous
New Steps in Trace Viewer:

New method locator.describe() to describe a locator. Used for trace viewer.
mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI -D exec.args="install --list"will now list all installed browsers, versions and locations.Browser Versions
This version was also tested against the following stable channels:
v1.52.0Highlights
New method assertThat(locator).containsClass() to ergonomically assert individual class names on the element.
Aria Snapshots got two new properties:
/childrenfor strict matching and/urlfor links.Miscellaneous
setMaxRedirectsin apiRequest.newContext() to control the maximum number of redirects.setRefin locator.ariaSnapshot() to generate reference for each element in the snapshot which can later be used to locate the element.Breaking Changes
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:
v1.51.0Highlights
New option
setIndexedDBfor 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:
New option
setVisiblefor locator.filter() allows matching only visible elements.New option
setContrastfor methods page.emulateMedia() and browser.newContext() allows to emulate theprefers-contrastmedia feature.New option
setFailOnStatusCodemakes 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:
v1.50.0Miscellaneous
UI updates
canvascontent in traces is error-prone. Display is now disabled by default, and can be enabled via theDisplay canvas contentUI setting.CallandNetworkpanels now display additional time information.Breaking
<input>,<select>, or a number of other editable elements.Browser Versions
This version was also tested against the following stable channels:
Configuration
📅 Schedule: Branch creation - "after 10am and before 6pm" in timezone Etc/UTC, Automerge - "after 10am and before 6pm" in timezone Etc/UTC.
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.