mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
fix(core): update maxRetries docs (#31810)
This commit is contained in:
parent
e86c8af599
commit
2cc4e14756
@ -134,7 +134,7 @@ Defaults to `20`. Pass `0` to not follow redirects.
|
|||||||
* since: v1.46
|
* since: v1.46
|
||||||
- `maxRetries` <[int]>
|
- `maxRetries` <[int]>
|
||||||
|
|
||||||
Maximum number of times socket errors should be retried. Currently only `ECONNRESET` error is retried. An error will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
Maximum number of times network errors should be retried. Currently only `ECONNRESET` error is retried. Does not retry based on HTTP response codes. An error will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
||||||
|
|
||||||
## method: RequestOptions.setMethod
|
## method: RequestOptions.setMethod
|
||||||
* since: v1.18
|
* since: v1.18
|
||||||
|
@ -469,7 +469,7 @@ Defaults to `20`. Pass `0` to not follow redirects.
|
|||||||
* langs: js, python, csharp
|
* langs: js, python, csharp
|
||||||
- `maxRetries` <[int]>
|
- `maxRetries` <[int]>
|
||||||
|
|
||||||
Maximum number of times socket errors should be retried. Currently only `ECONNRESET` error is retried. An error will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
Maximum number of times network errors should be retried. Currently only `ECONNRESET` error is retried. Does not retry based on HTTP response codes. An error will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
||||||
|
|
||||||
## evaluate-expression
|
## evaluate-expression
|
||||||
- `expression` <[string]>
|
- `expression` <[string]>
|
||||||
|
24
packages/playwright-core/types/types.d.ts
vendored
24
packages/playwright-core/types/types.d.ts
vendored
@ -15934,8 +15934,8 @@ export interface APIRequestContext {
|
|||||||
maxRedirects?: number;
|
maxRedirects?: number;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Maximum number of times socket errors should be retried. Currently only `ECONNRESET` error is retried. An error
|
* Maximum number of times network errors should be retried. Currently only `ECONNRESET` error is retried. Does not
|
||||||
* will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
* retry based on HTTP response codes. An error will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
||||||
*/
|
*/
|
||||||
maxRetries?: number;
|
maxRetries?: number;
|
||||||
|
|
||||||
@ -16040,8 +16040,8 @@ export interface APIRequestContext {
|
|||||||
maxRedirects?: number;
|
maxRedirects?: number;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Maximum number of times socket errors should be retried. Currently only `ECONNRESET` error is retried. An error
|
* Maximum number of times network errors should be retried. Currently only `ECONNRESET` error is retried. Does not
|
||||||
* will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
* retry based on HTTP response codes. An error will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
||||||
*/
|
*/
|
||||||
maxRetries?: number;
|
maxRetries?: number;
|
||||||
|
|
||||||
@ -16126,8 +16126,8 @@ export interface APIRequestContext {
|
|||||||
maxRedirects?: number;
|
maxRedirects?: number;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Maximum number of times socket errors should be retried. Currently only `ECONNRESET` error is retried. An error
|
* Maximum number of times network errors should be retried. Currently only `ECONNRESET` error is retried. Does not
|
||||||
* will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
* retry based on HTTP response codes. An error will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
||||||
*/
|
*/
|
||||||
maxRetries?: number;
|
maxRetries?: number;
|
||||||
|
|
||||||
@ -16212,8 +16212,8 @@ export interface APIRequestContext {
|
|||||||
maxRedirects?: number;
|
maxRedirects?: number;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Maximum number of times socket errors should be retried. Currently only `ECONNRESET` error is retried. An error
|
* Maximum number of times network errors should be retried. Currently only `ECONNRESET` error is retried. Does not
|
||||||
* will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
* retry based on HTTP response codes. An error will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
||||||
*/
|
*/
|
||||||
maxRetries?: number;
|
maxRetries?: number;
|
||||||
|
|
||||||
@ -16340,8 +16340,8 @@ export interface APIRequestContext {
|
|||||||
maxRedirects?: number;
|
maxRedirects?: number;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Maximum number of times socket errors should be retried. Currently only `ECONNRESET` error is retried. An error
|
* Maximum number of times network errors should be retried. Currently only `ECONNRESET` error is retried. Does not
|
||||||
* will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
* retry based on HTTP response codes. An error will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
||||||
*/
|
*/
|
||||||
maxRetries?: number;
|
maxRetries?: number;
|
||||||
|
|
||||||
@ -16426,8 +16426,8 @@ export interface APIRequestContext {
|
|||||||
maxRedirects?: number;
|
maxRedirects?: number;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Maximum number of times socket errors should be retried. Currently only `ECONNRESET` error is retried. An error
|
* Maximum number of times network errors should be retried. Currently only `ECONNRESET` error is retried. Does not
|
||||||
* will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
* retry based on HTTP response codes. An error will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
||||||
*/
|
*/
|
||||||
maxRetries?: number;
|
maxRetries?: number;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user