Skip to content

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

docs: explain why video has gray borders

Jim Fisher7d734802fc82
diff --git a/docs/src/videos.md b/docs/src/videos.md
index 1ef10ff2e5..560e3d651d 100644
--- a/docs/src/videos.md
+++ b/docs/src/videos.md
@@ -41,7 +41,7 @@ var context = await browser.NewContextAsync(new BrowserNewContextOptions
await context.CloseAsync();
```
-You can also specify video size, it defaults to viewport size scaled down to fit 800x800.
+You can also specify video size. The video size defaults to the viewport size scaled down to fit 800x800. The video of the viewport is placed in the top-left corner of the output video, scaled down to fit if necessary. You may need to set the viewport size to match your desired video size.
```js
const context = await browser.newContext({