docs(har): default update mode is minimal

Reference https://github.com/microsoft/playwright/issues/31983
This commit is contained in:
Yury Semikhatsky 2024-08-05 11:06:35 -07:00
parent d0c840f639
commit bdbab4873b
2 changed files with 3 additions and 2 deletions

View file

@ -3594,7 +3594,7 @@ A glob pattern, regular expression or predicate to match the request URL. Only r
* since: v1.32
- `updateMode` <[HarMode]<"full"|"minimal">>
When set to `minimal`, only record information necessary for routing from HAR. This omits sizes, timing, page, cookies, security and other types of HAR information that are not used when replaying from HAR. Defaults to `full`.
When set to `minimal`, only record information necessary for routing from HAR. This omits sizes, timing, page, cookies, security and other types of HAR information that are not used when replaying from HAR. Defaults to `minimal`.
### option: Page.routeFromHAR.updateContent
* since: v1.32

View file

@ -3760,7 +3760,8 @@ export interface Page {
/**
* When set to `minimal`, only record information necessary for routing from HAR. This omits sizes, timing, page,
* cookies, security and other types of HAR information that are not used when replaying from HAR. Defaults to `full`.
* cookies, security and other types of HAR information that are not used when replaying from HAR. Defaults to
* `minimal`.
*/
updateMode?: "full"|"minimal";