Skip to content

Commit

Permalink
docs: start adding the aria snapshot documentation (#33407)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelfeldman authored Nov 4, 2024
1 parent cf13784 commit 8b49d56
Show file tree
Hide file tree
Showing 6 changed files with 476 additions and 5 deletions.
3 changes: 2 additions & 1 deletion docs/src/api/class-locator.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ Additional locator to match.
* since: v1.49
- returns: <[string]>

Captures the aria snapshot of the given element. See [`method: LocatorAssertions.toMatchAriaSnapshot`] for the corresponding assertion.
Captures the aria snapshot of the given element.
Read more about [accessibility snapshots](../aria-snapshot.md) and [`method: LocatorAssertions.toMatchAriaSnapshot`] for the corresponding assertion.

**Usage**

Expand Down
2 changes: 1 addition & 1 deletion docs/src/api/class-locatorassertions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2109,7 +2109,7 @@ Expected options currently selected.
* langs:
- alias-java: matchesAriaSnapshot

Asserts that the target element matches the given accessibility snapshot.
Asserts that the target element matches the given [accessibility snapshot](../aria-snapshot.md).

**Usage**

Expand Down
Loading

0 comments on commit 8b49d56

Please sign in to comment.