Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions dotnet/docs/api/class-locator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,6 @@ await page.GetByRole(AriaRole.Link).AriaSnapshotAsync();

**Arguments**
- `options` `LocatorAriaSnapshotOptions?` *(optional)*
- `EmitGeneric` [bool]? *(optional)* <font size="2">Added in: v1.53</font><a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-aria-snapshot-option-emit-generic"/><a href="#locator-aria-snapshot-option-emit-generic" class="list-anchor">#</a>

Generate `generic` aria nodes for elements w/o roles (similar to Chrome DevTools).
- `Ref` [bool]? *(optional)* <font size="2">Added in: v1.52</font><a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-aria-snapshot-option-ref"/><a href="#locator-aria-snapshot-option-ref" class="list-anchor">#</a>

Generate symbolic reference for each element. One can use `aria-ref=<ref>` locator immediately after capturing the snapshot to perform actions on the element.
- `Timeout` [float]? *(optional)*<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-aria-snapshot-option-timeout"/><a href="#locator-aria-snapshot-option-timeout" class="list-anchor">#</a>

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.
Expand Down
2 changes: 1 addition & 1 deletion dotnet/docs/release-notes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 0 additions & 6 deletions java/docs/api/class-locator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,6 @@ page.getByRole(AriaRole.LINK).ariaSnapshot();

**Arguments**
- `options` `Locator.AriaSnapshotOptions` *(optional)*
- `setEmitGeneric` [boolean] *(optional)* <font size="2">Added in: v1.53</font><a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-aria-snapshot-option-emit-generic"/><a href="#locator-aria-snapshot-option-emit-generic" class="list-anchor">#</a>

Generate `generic` aria nodes for elements w/o roles (similar to Chrome DevTools).
- `setRef` [boolean] *(optional)* <font size="2">Added in: v1.52</font><a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-aria-snapshot-option-ref"/><a href="#locator-aria-snapshot-option-ref" class="list-anchor">#</a>

Generate symbolic reference for each element. One can use `aria-ref=<ref>` locator immediately after capturing the snapshot to perform actions on the element.
- `setTimeout` [double] *(optional)*<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-aria-snapshot-option-timeout"/><a href="#locator-aria-snapshot-option-timeout" class="list-anchor">#</a>

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.
Expand Down
2 changes: 1 addition & 1 deletion java/docs/release-notes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 0 additions & 6 deletions nodejs/docs/api/class-locator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,6 @@ await page.getByRole('link').ariaSnapshot();

**Arguments**
- `options` [Object] *(optional)*
- `emitGeneric` [boolean] *(optional)* <font size="2">Added in: v1.53</font><a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-aria-snapshot-option-emit-generic"/><a href="#locator-aria-snapshot-option-emit-generic" class="list-anchor">#</a>

Generate `generic` aria nodes for elements w/o roles (similar to Chrome DevTools).
- `ref` [boolean] *(optional)* <font size="2">Added in: v1.52</font><a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-aria-snapshot-option-ref"/><a href="#locator-aria-snapshot-option-ref" class="list-anchor">#</a>

Generate symbolic reference for each element. One can use `aria-ref=<ref>` locator immediately after capturing the snapshot to perform actions on the element.
- `timeout` [number] *(optional)*<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-aria-snapshot-option-timeout"/><a href="#locator-aria-snapshot-option-timeout" class="list-anchor">#</a>

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.
Expand Down
2 changes: 1 addition & 1 deletion nodejs/docs/release-notes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions python/docs/api/class-locator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -225,12 +225,6 @@ await page.get_by_role("link").aria_snapshot()
</Tabs>

**Arguments**
- `emit_generic` [bool] *(optional)* <font size="2">Added in: v1.53</font><a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-aria-snapshot-option-emit-generic"/><a href="#locator-aria-snapshot-option-emit-generic" class="list-anchor">#</a>

Generate `generic` aria nodes for elements w/o roles (similar to Chrome DevTools).
- `ref` [bool] *(optional)* <font size="2">Added in: v1.52</font><a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-aria-snapshot-option-ref"/><a href="#locator-aria-snapshot-option-ref" class="list-anchor">#</a>

Generate symbolic reference for each element. One can use `aria-ref=<ref>` locator immediately after capturing the snapshot to perform actions on the element.
- `timeout` [float] *(optional)*<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-aria-snapshot-option-timeout"/><a href="#locator-aria-snapshot-option-timeout" class="list-anchor">#</a>

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.
Expand Down
2 changes: 1 addition & 1 deletion python/docs/release-notes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading