From e5743d247d0e9f7dba9c857585e0fe1f5d3f0edb 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 98a6a7573a..6a367f8989 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.