Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

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

Dmitry Gozmand02ac9f8db45
diff --git a/docs/src/test-api/class-testoptions.md b/docs/src/test-api/class-testoptions.md
index 7eb4a57cdc..a89ff9ddbe 100644
--- a/docs/src/test-api/class-testoptions.md
+++ b/docs/src/test-api/class-testoptions.md
@@ -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`.