From 25cb649ea12b04e6ce4c2ddcff97e15aa6ca817b Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Wed, 14 Oct 2020 10:44:21 -0700 Subject: [PATCH] docs: fix Video.path() type (#4141) --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); #### 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.