Update docs/src/test-api/class-testoptions.md

Co-authored-by: Yury Semikhatsky <yurys@chromium.org>
Signed-off-by: Simon Knott <info@simonknott.de>
This commit is contained in:
Simon Knott 2025-02-11 11:05:13 +01:00 committed by GitHub
parent 8158c79d44
commit 98de04f1ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -508,7 +508,7 @@ export default defineConfig({
Learn more about [automatic screenshots](../test-use-options.md#recording-options).
## property: TestOptions.pageSnapshot
* since: v1.10
* since: v1.51
- type: <[PageSnapshotMode]<"off"|"on"|"only-on-failure">>
Whether to automatically capture a ARIA snapshot of the page after each test. Defaults to `'only-on-failure'`.