mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
fix(docs): TestOptions.screenshot typo (#19433)
This commit is contained in:
parent
6cadc56ea3
commit
d02ac9f8db
@ -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`.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user