mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs: fix typo persistet -> persisted (#17498)
This commit is contained in:
parent
840a1f6436
commit
26150b7064
@ -565,7 +565,7 @@ Logger sink for Playwright logging.
|
||||
- `recordHar` <[Object]>
|
||||
- `omitContent` ?<[boolean]> Optional setting to control whether to omit request content from the HAR. Defaults to
|
||||
`false`. Deprecated, use `content` policy instead.
|
||||
- `content` ?<[HarContentPolicy]<"omit"|"embed"|"attach">> Optional setting to control resource content management. If `omit` is specified, content is not persisted. If `attach` is specified, resources are persistet as separate files or entries in the ZIP archive. If `embed` is specified, content is stored inline the HAR file as per HAR specification. Defaults to `attach` for `.zip` output files and to `embed` for all other file extensions.
|
||||
- `content` ?<[HarContentPolicy]<"omit"|"embed"|"attach">> Optional setting to control resource content management. If `omit` is specified, content is not persisted. If `attach` is specified, resources are persisted as separate files or entries in the ZIP archive. If `embed` is specified, content is stored inline the HAR file as per HAR specification. Defaults to `attach` for `.zip` output files and to `embed` for all other file extensions.
|
||||
- `path` <[path]> Path on the filesystem to write the HAR file to. If the file name ends with `.zip`, `content: 'attach'` is used by default.
|
||||
- `mode` ?<[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`.
|
||||
- `urlFilter` ?<[string]|[RegExp]> A glob or regex pattern to filter requests that are stored in the HAR. When a [`option: baseURL`] via the context options was provided and the passed URL is a path, it gets merged via the [`new URL()`](https://developer.mozilla.org/en-US/docs/Web/API/URL/URL) constructor.
|
||||
@ -595,7 +595,7 @@ Optional setting to control whether to omit request content from the HAR. Defaul
|
||||
- alias-python: record_har_content
|
||||
- `recordHarContent` ?<[HarContentPolicy]<"omit"|"embed"|"attach">>
|
||||
|
||||
Optional setting to control resource content management. If `omit` is specified, content is not persisted. If `attach` is specified, resources are persistet as separate files and all of these files are archived along with the HAR file. Defaults to `embed`, which stores content inline the HAR file as per HAR specification.
|
||||
Optional setting to control resource content management. If `omit` is specified, content is not persisted. If `attach` is specified, resources are persisted as separate files and all of these files are archived along with the HAR file. Defaults to `embed`, which stores content inline the HAR file as per HAR specification.
|
||||
|
||||
## context-option-recordhar-mode
|
||||
* langs: csharp, java, python
|
||||
|
||||
10
packages/playwright-core/types/types.d.ts
vendored
10
packages/playwright-core/types/types.d.ts
vendored
@ -10723,7 +10723,7 @@ export interface BrowserType<Unused = {}> {
|
||||
|
||||
/**
|
||||
* Optional setting to control resource content management. If `omit` is specified, content is not persisted. If `attach`
|
||||
* is specified, resources are persistet as separate files or entries in the ZIP archive. If `embed` is specified, content
|
||||
* is specified, resources are persisted as separate files or entries in the ZIP archive. If `embed` is specified, content
|
||||
* is stored inline the HAR file as per HAR specification. Defaults to `attach` for `.zip` output files and to `embed` for
|
||||
* all other file extensions.
|
||||
*/
|
||||
@ -11927,7 +11927,7 @@ export interface AndroidDevice {
|
||||
|
||||
/**
|
||||
* Optional setting to control resource content management. If `omit` is specified, content is not persisted. If `attach`
|
||||
* is specified, resources are persistet as separate files or entries in the ZIP archive. If `embed` is specified, content
|
||||
* is specified, resources are persisted as separate files or entries in the ZIP archive. If `embed` is specified, content
|
||||
* is stored inline the HAR file as per HAR specification. Defaults to `attach` for `.zip` output files and to `embed` for
|
||||
* all other file extensions.
|
||||
*/
|
||||
@ -13660,7 +13660,7 @@ export interface Browser extends EventEmitter {
|
||||
|
||||
/**
|
||||
* Optional setting to control resource content management. If `omit` is specified, content is not persisted. If `attach`
|
||||
* is specified, resources are persistet as separate files or entries in the ZIP archive. If `embed` is specified, content
|
||||
* is specified, resources are persisted as separate files or entries in the ZIP archive. If `embed` is specified, content
|
||||
* is stored inline the HAR file as per HAR specification. Defaults to `attach` for `.zip` output files and to `embed` for
|
||||
* all other file extensions.
|
||||
*/
|
||||
@ -14454,7 +14454,7 @@ export interface Electron {
|
||||
|
||||
/**
|
||||
* Optional setting to control resource content management. If `omit` is specified, content is not persisted. If `attach`
|
||||
* is specified, resources are persistet as separate files or entries in the ZIP archive. If `embed` is specified, content
|
||||
* is specified, resources are persisted as separate files or entries in the ZIP archive. If `embed` is specified, content
|
||||
* is stored inline the HAR file as per HAR specification. Defaults to `attach` for `.zip` output files and to `embed` for
|
||||
* all other file extensions.
|
||||
*/
|
||||
@ -16288,7 +16288,7 @@ export interface BrowserContextOptions {
|
||||
|
||||
/**
|
||||
* Optional setting to control resource content management. If `omit` is specified, content is not persisted. If `attach`
|
||||
* is specified, resources are persistet as separate files or entries in the ZIP archive. If `embed` is specified, content
|
||||
* is specified, resources are persisted as separate files or entries in the ZIP archive. If `embed` is specified, content
|
||||
* is stored inline the HAR file as per HAR specification. Defaults to `attach` for `.zip` output files and to `embed` for
|
||||
* all other file extensions.
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user