fix(docs): TestOptions.screenshot typo (#19433)

This commit is contained in:
Dmitry Gozman 2022-12-13 12:31:52 -08:00 committed by GitHub
parent 6cadc56ea3
commit d02ac9f8db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,7 +190,7 @@ Learn more about [various timeouts](../test-timeouts.md).
## property: TestOptions.screenshot
* since: v1.10
- type: <[Object]|[ScreenshotMode]<"off"|"on"||"only-on-failure">>
- type: <[Object]|[ScreenshotMode]<"off"|"on"|"only-on-failure">>
- `mode` <[ScreenshotMode]<"off"|"on"|"only-on-failure">> Automatic screenshot mode.
- `fullPage` ?<[boolean]> When true, takes a screenshot of the full scrollable page, instead of the currently visible viewport. Defaults to `false`.
- `omitBackground` ?<[boolean]> Hides default white background and allows capturing screenshots with transparency. Not applicable to `jpeg` images. Defaults to `false`.