From 2ad4350f88b44df5d36b9f159c87f24000d2766f Mon Sep 17 00:00:00 2001 From: "microsoft-playwright-automation[bot]" <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com> Date: Fri, 9 May 2025 10:09:15 +0000 Subject: [PATCH] feat(roll): roll to ToT Playwright (09-05-25) --- dotnet/docs/api/class-locator.mdx | 6 ------ dotnet/docs/release-notes.mdx | 2 +- java/docs/api/class-locator.mdx | 6 ------ java/docs/release-notes.mdx | 2 +- nodejs/docs/api/class-locator.mdx | 6 ------ nodejs/docs/release-notes.mdx | 2 +- python/docs/api/class-locator.mdx | 6 ------ python/docs/release-notes.mdx | 2 +- 8 files changed, 4 insertions(+), 28 deletions(-) diff --git a/dotnet/docs/api/class-locator.mdx b/dotnet/docs/api/class-locator.mdx index 10ed1c01510..b345bef21ab 100644 --- a/dotnet/docs/api/class-locator.mdx +++ b/dotnet/docs/api/class-locator.mdx @@ -125,12 +125,6 @@ await page.GetByRole(AriaRole.Link).AriaSnapshotAsync(); **Arguments** - `options` `LocatorAriaSnapshotOptions?` *(optional)* - - `EmitGeneric` [bool]? *(optional)* Added in: v1.53# - - Generate `generic` aria nodes for elements w/o roles (similar to Chrome DevTools). - - `Ref` [bool]? *(optional)* Added in: v1.52# - - Generate symbolic reference for each element. One can use `aria-ref=` locator immediately after capturing the snapshot to perform actions on the element. - `Timeout` [float]? *(optional)*# Maximum time in milliseconds. Defaults to `30000` (30 seconds). Pass `0` to disable timeout. The default value can be changed by using the [BrowserContext.SetDefaultTimeout()](/api/class-browsercontext.mdx#browser-context-set-default-timeout) or [Page.SetDefaultTimeout()](/api/class-page.mdx#page-set-default-timeout) methods. diff --git a/dotnet/docs/release-notes.mdx b/dotnet/docs/release-notes.mdx index f3e3e37bfe9..6103ed1541e 100644 --- a/dotnet/docs/release-notes.mdx +++ b/dotnet/docs/release-notes.mdx @@ -31,7 +31,7 @@ import HTMLCard from '@site/src/components/HTMLCard'; ### Miscellaneous - New option [MaxRedirects](/api/class-apirequest.mdx#api-request-new-context-option-max-redirects) in [ApiRequest.NewContextAsync()](/api/class-apirequest.mdx#api-request-new-context) to control the maximum number of redirects. -- New option [Ref](/api/class-locator.mdx#locator-aria-snapshot-option-ref) in [Locator.AriaSnapshotAsync()](/api/class-locator.mdx#locator-aria-snapshot) to generate reference for each element in the snapshot which can later be used to locate the element. +- New option `ref` in [Locator.AriaSnapshotAsync()](/api/class-locator.mdx#locator-aria-snapshot) to generate reference for each element in the snapshot which can later be used to locate the element. ### Breaking Changes - Glob URL patterns in methods like [Page.RouteAsync()](/api/class-page.mdx#page-route) do not support `?` and `[]` anymore. We recommend using regular expressions instead. diff --git a/java/docs/api/class-locator.mdx b/java/docs/api/class-locator.mdx index fc530739ef5..9bcdbfd3b39 100644 --- a/java/docs/api/class-locator.mdx +++ b/java/docs/api/class-locator.mdx @@ -125,12 +125,6 @@ page.getByRole(AriaRole.LINK).ariaSnapshot(); **Arguments** - `options` `Locator.AriaSnapshotOptions` *(optional)* - - `setEmitGeneric` [boolean] *(optional)* Added in: v1.53# - - Generate `generic` aria nodes for elements w/o roles (similar to Chrome DevTools). - - `setRef` [boolean] *(optional)* Added in: v1.52# - - Generate symbolic reference for each element. One can use `aria-ref=` locator immediately after capturing the snapshot to perform actions on the element. - `setTimeout` [double] *(optional)*# Maximum time in milliseconds. Defaults to `30000` (30 seconds). Pass `0` to disable timeout. The default value can be changed by using the [BrowserContext.setDefaultTimeout()](/api/class-browsercontext.mdx#browser-context-set-default-timeout) or [Page.setDefaultTimeout()](/api/class-page.mdx#page-set-default-timeout) methods. diff --git a/java/docs/release-notes.mdx b/java/docs/release-notes.mdx index 7154ab9415c..4ca028f9def 100644 --- a/java/docs/release-notes.mdx +++ b/java/docs/release-notes.mdx @@ -31,7 +31,7 @@ import HTMLCard from '@site/src/components/HTMLCard'; ### Miscellaneous - New option [setMaxRedirects](/api/class-apirequest.mdx#api-request-new-context-option-max-redirects) in [APIRequest.newContext()](/api/class-apirequest.mdx#api-request-new-context) to control the maximum number of redirects. -- New option [setRef](/api/class-locator.mdx#locator-aria-snapshot-option-ref) in [Locator.ariaSnapshot()](/api/class-locator.mdx#locator-aria-snapshot) to generate reference for each element in the snapshot which can later be used to locate the element. +- New option `ref` in [Locator.ariaSnapshot()](/api/class-locator.mdx#locator-aria-snapshot) to generate reference for each element in the snapshot which can later be used to locate the element. ### Breaking Changes - Glob URL patterns in methods like [Page.route()](/api/class-page.mdx#page-route) do not support `?` and `[]` anymore. We recommend using regular expressions instead. diff --git a/nodejs/docs/api/class-locator.mdx b/nodejs/docs/api/class-locator.mdx index 4a81b8cec21..83bbdc274c5 100644 --- a/nodejs/docs/api/class-locator.mdx +++ b/nodejs/docs/api/class-locator.mdx @@ -125,12 +125,6 @@ await page.getByRole('link').ariaSnapshot(); **Arguments** - `options` [Object] *(optional)* - - `emitGeneric` [boolean] *(optional)* Added in: v1.53# - - Generate `generic` aria nodes for elements w/o roles (similar to Chrome DevTools). - - `ref` [boolean] *(optional)* Added in: v1.52# - - Generate symbolic reference for each element. One can use `aria-ref=` locator immediately after capturing the snapshot to perform actions on the element. - `timeout` [number] *(optional)*# Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` option in the config, or by using the [browserContext.setDefaultTimeout()](/api/class-browsercontext.mdx#browser-context-set-default-timeout) or [page.setDefaultTimeout()](/api/class-page.mdx#page-set-default-timeout) methods. diff --git a/nodejs/docs/release-notes.mdx b/nodejs/docs/release-notes.mdx index 50283b5c680..c6fa2efeea1 100644 --- a/nodejs/docs/release-notes.mdx +++ b/nodejs/docs/release-notes.mdx @@ -38,7 +38,7 @@ import LiteYouTube from '@site/src/components/LiteYouTube'; ### Miscellaneous - New option [maxRedirects](/api/class-apirequest.mdx#api-request-new-context-option-max-redirects) in [apiRequest.newContext()](/api/class-apirequest.mdx#api-request-new-context) to control the maximum number of redirects. -- New option [ref](/api/class-locator.mdx#locator-aria-snapshot-option-ref) in [locator.ariaSnapshot()](/api/class-locator.mdx#locator-aria-snapshot) to generate reference for each element in the snapshot which can later be used to locate the element. +- New option `ref` in [locator.ariaSnapshot()](/api/class-locator.mdx#locator-aria-snapshot) to generate reference for each element in the snapshot which can later be used to locate the element. - HTML reporter now supports *NOT filtering* via `!@my-tag` or `!my-file.spec.ts` or `!p:my-project`. ### Breaking Changes diff --git a/python/docs/api/class-locator.mdx b/python/docs/api/class-locator.mdx index c4f23ab0d5c..cf03305b025 100644 --- a/python/docs/api/class-locator.mdx +++ b/python/docs/api/class-locator.mdx @@ -225,12 +225,6 @@ await page.get_by_role("link").aria_snapshot() **Arguments** -- `emit_generic` [bool] *(optional)* Added in: v1.53# - - Generate `generic` aria nodes for elements w/o roles (similar to Chrome DevTools). -- `ref` [bool] *(optional)* Added in: v1.52# - - Generate symbolic reference for each element. One can use `aria-ref=` locator immediately after capturing the snapshot to perform actions on the element. - `timeout` [float] *(optional)*# Maximum time in milliseconds. Defaults to `30000` (30 seconds). Pass `0` to disable timeout. The default value can be changed by using the [browser_context.set_default_timeout()](/api/class-browsercontext.mdx#browser-context-set-default-timeout) or [page.set_default_timeout()](/api/class-page.mdx#page-set-default-timeout) methods. diff --git a/python/docs/release-notes.mdx b/python/docs/release-notes.mdx index 384883ec693..e735e8bc0cc 100644 --- a/python/docs/release-notes.mdx +++ b/python/docs/release-notes.mdx @@ -31,7 +31,7 @@ import HTMLCard from '@site/src/components/HTMLCard'; ### Miscellaneous - New option [max_redirects](/api/class-apirequest.mdx#api-request-new-context-option-max-redirects) in [api_request.new_context()](/api/class-apirequest.mdx#api-request-new-context) to control the maximum number of redirects. -- New option [ref](/api/class-locator.mdx#locator-aria-snapshot-option-ref) in [locator.aria_snapshot()](/api/class-locator.mdx#locator-aria-snapshot) to generate reference for each element in the snapshot which can later be used to locate the element. +- New option `ref` in [locator.aria_snapshot()](/api/class-locator.mdx#locator-aria-snapshot) to generate reference for each element in the snapshot which can later be used to locate the element. ### Breaking Changes - Glob URL patterns in methods like [page.route()](/api/class-page.mdx#page-route) do not support `?` and `[]` anymore. We recommend using regular expressions instead.