Skip to content

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

docs: fix Video.path() type (#4141)

Yury Semikhatsky25cb649ea12b
diff --git a/docs/api.md b/docs/api.md
index 4a6f7af10a..5f17bc7dd0 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -3449,7 +3449,7 @@ console.log(await page.video().path());
<!-- GEN:stop -->
#### video.path()
-- returns: <[string]>
+- returns: <[Promise]<[string]>>
Returns the file system path this video will be recorded to. The video is guaranteed to be written to the filesystem upon closing the browser context.