docs: remove toMatchAriaSnapshot path feature

This commit is contained in:
Adam Gastineau 2025-01-24 12:11:46 -08:00
parent bbd55587e4
commit 2e39cf19f8
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