From bdbab4873b7ee7466bc3d4a93d03feb241a14b05 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Mon, 5 Aug 2024 11:06:35 -0700 Subject: [PATCH] docs(har): default update mode is minimal Reference https://github.com/microsoft/playwright/issues/31983 --- docs/src/api/class-page.md | 2 +- packages/playwright-core/types/types.d.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/src/api/class-page.md b/docs/src/api/class-page.md index b64173affe..7953952e30 100644 --- a/docs/src/api/class-page.md +++ b/docs/src/api/class-page.md @@ -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 diff --git a/packages/playwright-core/types/types.d.ts b/packages/playwright-core/types/types.d.ts index cfcc0305d9..94ebd513da 100644 --- a/packages/playwright-core/types/types.d.ts +++ b/packages/playwright-core/types/types.d.ts @@ -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";