docs: update strict routeFromHar default value (#14886)
This commit is contained in:
parent
464cbb7457
commit
df63ae9dce
|
|
@ -1045,7 +1045,7 @@ If `path` is a relative path, then it is resolved relative to the current workin
|
||||||
If set to true any request not found in the HAR file will be aborted. If set to
|
If set to true any request not found in the HAR file will be aborted. If set to
|
||||||
false missing requests will continue normal flow and can be handled by other
|
false missing requests will continue normal flow and can be handled by other
|
||||||
[Route] handlers or served from other HAR files configured with [`method: BrowserContext.routeFromHar`].
|
[Route] handlers or served from other HAR files configured with [`method: BrowserContext.routeFromHar`].
|
||||||
Defaults to false.
|
Defaults to true.
|
||||||
|
|
||||||
### option: BrowserContext.routeFromHar.url
|
### option: BrowserContext.routeFromHar.url
|
||||||
- `url` <[string]|[RegExp]>
|
- `url` <[string]|[RegExp]>
|
||||||
|
|
|
||||||
|
|
@ -2752,7 +2752,7 @@ If `path` is a relative path, then it is resolved relative to the current workin
|
||||||
If set to true any request not found in the HAR file will be aborted. If set to
|
If set to true any request not found in the HAR file will be aborted. If set to
|
||||||
false missing requests will continue normal flow and can be handled by other
|
false missing requests will continue normal flow and can be handled by other
|
||||||
[Route] handlers or served from other HAR files configured with [`method: Page.routeFromHar`].
|
[Route] handlers or served from other HAR files configured with [`method: Page.routeFromHar`].
|
||||||
Defaults to false.
|
Defaults to true.
|
||||||
|
|
||||||
### option: Page.routeFromHar.url
|
### option: Page.routeFromHar.url
|
||||||
- `url` <[string]|[RegExp]>
|
- `url` <[string]|[RegExp]>
|
||||||
|
|
|
||||||
4
packages/playwright-core/types/types.d.ts
vendored
4
packages/playwright-core/types/types.d.ts
vendored
|
|
@ -2985,7 +2985,7 @@ export interface Page {
|
||||||
* If set to true any request not found in the HAR file will be aborted. If set to false missing requests will continue
|
* If set to true any request not found in the HAR file will be aborted. If set to false missing requests will continue
|
||||||
* normal flow and can be handled by other [Route] handlers or served from other HAR files configured with
|
* normal flow and can be handled by other [Route] handlers or served from other HAR files configured with
|
||||||
* [page.routeFromHar(harPath[, options])](https://playwright.dev/docs/api/class-page#page-route-from-har). Defaults to
|
* [page.routeFromHar(harPath[, options])](https://playwright.dev/docs/api/class-page#page-route-from-har). Defaults to
|
||||||
* false.
|
* true.
|
||||||
*/
|
*/
|
||||||
strict?: boolean;
|
strict?: boolean;
|
||||||
|
|
||||||
|
|
@ -6859,7 +6859,7 @@ export interface BrowserContext {
|
||||||
* If set to true any request not found in the HAR file will be aborted. If set to false missing requests will continue
|
* If set to true any request not found in the HAR file will be aborted. If set to false missing requests will continue
|
||||||
* normal flow and can be handled by other [Route] handlers or served from other HAR files configured with
|
* normal flow and can be handled by other [Route] handlers or served from other HAR files configured with
|
||||||
* [browserContext.routeFromHar(harPath[, options])](https://playwright.dev/docs/api/class-browsercontext#browser-context-route-from-har).
|
* [browserContext.routeFromHar(harPath[, options])](https://playwright.dev/docs/api/class-browsercontext#browser-context-route-from-har).
|
||||||
* Defaults to false.
|
* Defaults to true.
|
||||||
*/
|
*/
|
||||||
strict?: boolean;
|
strict?: boolean;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue