From 8f1d03f84671ab3c34cd6d783746ba5e7aad9a91 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Tue, 23 Mar 2021 13:13:15 -0700 Subject: [PATCH] docs(options): clarify recordHarPath and recordVideoDir behavior (#5923) --- docs/src/api/params.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/src/api/params.md b/docs/src/api/params.md index caff150d02..6012c833ac 100644 --- a/docs/src/api/params.md +++ b/docs/src/api/params.md @@ -378,7 +378,9 @@ saved. - alias-python: record_har_path - `recordHarPath` <[path]> -Path on the filesystem to write the HAR file to. +Enables [HAR](http://www.softwareishard.com/blog/har-12-spec) recording for all pages into the +specified HAR file on the filesystem. If not specified, the HAR is not recorded. Make sure to +call [`method: BrowserContext.close`] for the HAR to be saved. ## context-option-recordhar-omit-content * langs: csharp, java, python @@ -405,7 +407,8 @@ sure to await [`method: BrowserContext.close`] for videos to be saved. - alias-python: record_video_dir - `recordVideoDir` <[path]> -Path to the directory to put videos into. +Enables video recording for all pages into the specified directory. If not specified videos are +not recorded. Make sure to call [`method: BrowserContext.close`] for videos to be saved. ## context-option-recordvideo-size * langs: csharp, java, python