Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: spread RecordHar options in java #5390

Merged
merged 1 commit into from
Feb 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
30 changes: 16 additions & 14 deletions docs/src/api/params.md
Original file line number Diff line number Diff line change
Expand Up @@ -357,17 +357,19 @@ Enables [HAR](http://www.softwareishard.com/blog/har-12-spec) recording for all
specified, the HAR is not recorded. Make sure to await [`method: BrowserContext.close`] for the HAR to be
saved.

## python-context-option-recordhar-omit-content
* langs: python
- `record_har_omit_content` <[boolean]>
## context-option-recordhar-path
* langs: csharp, java, python
- alias-python: record_har_path
- `recordHarPath` <[path]>

Optional setting to control whether to omit request content from the HAR. Defaults to `false`.
Path on the filesystem to write the HAR file to.

## python-context-option-recordhar-path
* langs: python
- `record_har_path` <[path]>
## context-option-recordhar-omit-content
* langs: csharp, java, python
- alias-python: record_har_omit_content
- `recordHarOmitContent` <[boolean]>

Path on the filesystem to write the HAR file to.
Optional setting to control whether to omit request content from the HAR. Defaults to `false`.

## context-option-recordvideo
* langs: js
Expand All @@ -382,14 +384,14 @@ Path on the filesystem to write the HAR file to.
Enables video recording for all pages into `recordVideo.dir` directory. If not specified videos are not recorded. Make
sure to await [`method: BrowserContext.close`] for videos to be saved.

## python-context-option-recordvideo-dir
## context-option-recordvideo-dir
* langs: csharp, java, python
- alias-python: record_video_dir
- `recordVideoDir` <[path]>

Path to the directory to put videos into.

## python-context-option-recordvideo-size
## context-option-recordvideo-size
* langs: csharp, java, python
- alias-python: record_video_size
- `recordVideoSize` <[Object]>
Expand Down Expand Up @@ -518,8 +520,8 @@ The default value can be changed by using the [`method: BrowserContext.setDefaul
- %%-context-option-videospath-%%
- %%-context-option-videosize-%%
- %%-context-option-recordhar-%%
- %%-python-context-option-recordhar-path-%%
- %%-python-context-option-recordhar-omit-content-%%
- %%-context-option-recordhar-path-%%
- %%-context-option-recordhar-omit-content-%%
- %%-context-option-recordvideo-%%
- %%-python-context-option-recordvideo-dir-%%
- %%-python-context-option-recordvideo-size-%%
- %%-context-option-recordvideo-dir-%%
- %%-context-option-recordvideo-size-%%