docs: remove toMatchAriaSnapshot path feature (#34471)

This commit is contained in:
Adam Gastineau 2025-01-24 12:16:58 -08:00 committed by GitHub
parent dcff914040
commit b39c29d096
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 2 deletions

View File

@ -2250,7 +2250,6 @@ Asserts that the target element matches the given [accessibility snapshot](../ar
```js
await expect(page.locator('body')).toMatchAriaSnapshot();
await expect(page.locator('body')).toMatchAriaSnapshot({ name: 'snapshot' });
await expect(page.locator('body')).toMatchAriaSnapshot({ path: '/path/to/snapshot.yml' });
```
```python async

View File

@ -8690,7 +8690,6 @@ interface LocatorAssertions {
* ```js
* await expect(page.locator('body')).toMatchAriaSnapshot();
* await expect(page.locator('body')).toMatchAriaSnapshot({ name: 'snapshot' });
* await expect(page.locator('body')).toMatchAriaSnapshot({ path: '/path/to/snapshot.yml' });
* ```
*
* @param options