You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -450,6 +481,15 @@ unless explicitly provided. File values can be passed as file-like object contai
1257
+
@@ -456,6 +487,15 @@ unless explicitly provided. File values can be passed as file-like object contai
1258
1258
1259
1259
An instance of [FormData] can be created via [`method: APIRequestContext.createFormData`].
1260
1260
@@ -1270,7 +1270,7 @@ index ccd6bae8f..059ed0b8e 100644
1270
1270
## js-python-csharp-fetch-option-data
1271
1271
* langs: js, python, csharp
1272
1272
- `data` <[string]|[Buffer]|[Serializable]>
1273
-
@@ -458,21 +498,29 @@ Allows to set post data of the request. If the data parameter is an object, it w
1273
+
@@ -464,21 +504,29 @@ Allows to set post data of the request. If the data parameter is an object, it w
1274
1274
and `content-type` header will be set to `application/json` if not explicitly set. Otherwise the `content-type` header will be
1275
1275
set to `application/octet-stream` if not explicitly set.
1276
1276
@@ -1303,7 +1303,7 @@ index ccd6bae8f..059ed0b8e 100644
1303
1303
- `maxRetries` <[int]>
1304
1304
1305
1305
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.
1306
-
@@ -514,7 +562,7 @@ Function to be evaluated in the worker context.
1306
+
@@ -520,7 +568,7 @@ Function to be evaluated in the worker context.
1307
1307
Function to be evaluated in the main Electron process.
1308
1308
1309
1309
## python-context-option-viewport
@@ -1312,7 +1312,7 @@ index ccd6bae8f..059ed0b8e 100644
1312
1312
- `viewport` <[null]|[Object]>
1313
1313
- `width` <[int]> page width in pixels.
1314
1314
- `height` <[int]> page height in pixels.
1315
-
@@ -522,7 +570,7 @@ Function to be evaluated in the main Electron process.
1315
+
@@ -528,7 +576,7 @@ Function to be evaluated in the main Electron process.
1316
1316
Sets a consistent viewport for each page. Defaults to an 1280x720 viewport. `no_viewport` disables the fixed viewport. Learn more about [viewport emulation](../emulation.md#viewport).
1317
1317
1318
1318
## python-context-option-no-viewport
@@ -1321,7 +1321,7 @@ index ccd6bae8f..059ed0b8e 100644
1321
1321
- `noViewport` <[boolean]>
1322
1322
1323
1323
Does not enforce fixed viewport, allows resizing window in the headed mode.
1324
-
@@ -628,11 +676,11 @@ Emulates `'prefers-colors-scheme'` media feature, supported values are `'light'`
1324
+
@@ -634,11 +682,11 @@ Emulates `'prefers-colors-scheme'` media feature, supported values are `'light'`
1325
1325
[`method: Page.emulateMedia`] for more details. Passing `null` resets emulation to system defaults. Defaults to `'light'`.
1326
1326
1327
1327
## context-option-colorscheme-csharp-python
@@ -1336,7 +1336,7 @@ index ccd6bae8f..059ed0b8e 100644
1336
1336
1337
1337
## context-option-reducedMotion
1338
1338
* langs: js, java
1339
-
@@ -641,10 +689,10 @@ Emulates `'prefers-colors-scheme'` media feature, supported values are `'light'`
1339
+
@@ -647,10 +695,10 @@ Emulates `'prefers-colors-scheme'` media feature, supported values are `'light'`
1340
1340
Emulates `'prefers-reduced-motion'` media feature, supported values are `'reduce'`, `'no-preference'`. See [`method: Page.emulateMedia`] for more details. Passing `null` resets emulation to system defaults. Defaults to `'no-preference'`.
1341
1341
1342
1342
## context-option-reducedMotion-csharp-python
@@ -1350,7 +1350,7 @@ index ccd6bae8f..059ed0b8e 100644
1350
1350
1351
1351
## context-option-forcedColors
1352
1352
* langs: js, java
1353
-
@@ -653,10 +701,10 @@ Emulates `'prefers-reduced-motion'` media feature, supported values are `'reduce
1353
+
@@ -659,10 +707,10 @@ Emulates `'prefers-reduced-motion'` media feature, supported values are `'reduce
1354
1354
Emulates `'forced-colors'` media feature, supported values are `'active'`, `'none'`. See [`method: Page.emulateMedia`] for more details. Passing `null` resets emulation to system defaults. Defaults to `'none'`.
1355
1355
1356
1356
## context-option-forcedColors-csharp-python
@@ -1364,7 +1364,7 @@ index ccd6bae8f..059ed0b8e 100644
1364
1364
1365
1365
## context-option-logger
1366
1366
* langs: js
1367
-
@@ -691,7 +739,7 @@ specified, the HAR is not recorded. Make sure to await [`method: BrowserContext.
1367
+
@@ -697,7 +745,7 @@ specified, the HAR is not recorded. Make sure to await [`method: BrowserContext.
1368
1368
saved.
1369
1369
1370
1370
## context-option-recordhar-path
@@ -1373,7 +1373,7 @@ index ccd6bae8f..059ed0b8e 100644
1373
1373
- alias-python: record_har_path
1374
1374
- `recordHarPath` <[path]>
1375
1375
1376
-
@@ -700,33 +748,33 @@ specified HAR file on the filesystem. If not specified, the HAR is not recorded.
1376
+
@@ -706,33 +754,33 @@ specified HAR file on the filesystem. If not specified, the HAR is not recorded.
1377
1377
call [`method: BrowserContext.close`] for the HAR to be saved.
1378
1378
1379
1379
## context-option-recordhar-omit-content
@@ -1412,7 +1412,7 @@ index ccd6bae8f..059ed0b8e 100644
1412
1412
- `recordVideo` <[Object]>
1413
1413
- `dir` <[path]> Path to the directory to put videos into.
1414
1414
- `size` ?<[Object]> Optional dimensions of the recorded videos. If not specified the size will be equal to `viewport`
1415
-
@@ -795,7 +843,7 @@ Specifies whether to wait for already running listeners and what to do if they t
1415
+
@@ -801,7 +849,7 @@ Specifies whether to wait for already running listeners and what to do if they t
1416
1416
* `'ignoreErrors'` - do not wait for current listener calls (if any) to finish, all errors thrown by the listeners after removal are silently caught
1417
1417
1418
1418
## unroute-all-options-behavior
@@ -1421,7 +1421,7 @@ index ccd6bae8f..059ed0b8e 100644
0 commit comments