Skip to content

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

docs: spread RecordHar options in java (#5390)

Yury Semikhatsky716bd4211d58
diff --git a/docs/src/api/params.md b/docs/src/api/params.md
index c29001b196..9ccd646997 100644
--- a/docs/src/api/params.md
+++ b/docs/src/api/params.md
@@ -359,17 +359,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
@@ -384,14 +386,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]>
@@ -520,8 +522,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-%%