mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs: clarify routeFromHAR.update semantics (#17887)
This commit is contained in:
parent
df4498e7ee
commit
b140b29df0
@ -1093,7 +1093,7 @@ Defaults to abort.
|
||||
* since: v1.23
|
||||
- `update` ?<boolean>
|
||||
|
||||
If specified, updates the given HAR with the actual network information instead of serving from file.
|
||||
If specified, updates the given HAR with the actual network information instead of serving from file. The file is written to disk when [`method: BrowserContext.close`] is called.
|
||||
|
||||
### option: BrowserContext.routeFromHAR.url
|
||||
* since: v1.23
|
||||
|
||||
@ -3120,7 +3120,7 @@ Defaults to abort.
|
||||
* since: v1.23
|
||||
- `update` ?<boolean>
|
||||
|
||||
If specified, updates the given HAR with the actual network information instead of serving from file.
|
||||
If specified, updates the given HAR with the actual network information instead of serving from file. The file is written to disk when [`method: BrowserContext.close`] is called.
|
||||
|
||||
### option: Page.routeFromHAR.url
|
||||
* since: v1.23
|
||||
|
||||
8
packages/playwright-core/types/types.d.ts
vendored
8
packages/playwright-core/types/types.d.ts
vendored
@ -3359,7 +3359,9 @@ export interface Page {
|
||||
notFound?: "abort"|"fallback";
|
||||
|
||||
/**
|
||||
* If specified, updates the given HAR with the actual network information instead of serving from file.
|
||||
* If specified, updates the given HAR with the actual network information instead of serving from file. The file is
|
||||
* written to disk when
|
||||
* [browserContext.close()](https://playwright.dev/docs/api/class-browsercontext#browser-context-close) is called.
|
||||
*/
|
||||
update?: boolean;
|
||||
|
||||
@ -7478,7 +7480,9 @@ export interface BrowserContext {
|
||||
notFound?: "abort"|"fallback";
|
||||
|
||||
/**
|
||||
* If specified, updates the given HAR with the actual network information instead of serving from file.
|
||||
* If specified, updates the given HAR with the actual network information instead of serving from file. The file is
|
||||
* written to disk when
|
||||
* [browserContext.close()](https://playwright.dev/docs/api/class-browsercontext#browser-context-close) is called.
|
||||
*/
|
||||
update?: boolean;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user