docs: fix typo persistet -> persisted (#17498)

This commit is contained in:
Philip Langer 2022-09-21 13:58:34 +02:00 committed by GitHub
parent 840a1f6436
commit 26150b7064
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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.
*/