@browserless.io/browserless 2.4.0-beta-1 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -1
- package/bin/scaffold/README.md +2 -0
- package/build/browserless.d.ts +4 -2
- package/build/browserless.js +17 -4
- package/build/browsers/chromium.cdp.d.ts +1 -5
- package/build/browsers/chromium.cdp.js +5 -115
- package/build/browsers/chromium.playwright.d.ts +1 -3
- package/build/browsers/chromium.playwright.js +1 -6
- package/build/browsers/firefox.playwright.d.ts +1 -3
- package/build/browsers/firefox.playwright.js +1 -6
- package/build/browsers/index.d.ts +5 -1
- package/build/browsers/index.js +6 -5
- package/build/browsers/webkit.playwright.d.ts +1 -3
- package/build/browsers/webkit.playwright.js +1 -6
- package/build/config.d.ts +9 -0
- package/build/config.js +11 -0
- package/build/constants.d.ts +0 -1
- package/build/constants.js +0 -1
- package/build/file-system.d.ts +12 -1
- package/build/file-system.js +14 -1
- package/build/http.d.ts +0 -7
- package/build/limiter.d.ts +9 -0
- package/build/limiter.js +11 -0
- package/build/metrics.d.ts +12 -1
- package/build/metrics.js +13 -1
- package/build/monitoring.d.ts +12 -1
- package/build/monitoring.js +14 -1
- package/build/router.d.ts +12 -2
- package/build/router.js +16 -6
- package/build/routes/chrome/http/content.post.body.json +8 -8
- package/build/routes/chrome/http/content.post.query.json +0 -4
- package/build/routes/chrome/http/download.post.query.json +0 -4
- package/build/routes/chrome/http/function.post.query.json +0 -4
- package/build/routes/chrome/http/pdf.post.body.json +8 -11
- package/build/routes/chrome/http/pdf.post.query.json +0 -4
- package/build/routes/chrome/http/performance.post.query.json +0 -4
- package/build/routes/chrome/http/scrape.post.body.json +8 -8
- package/build/routes/chrome/http/scrape.post.query.json +0 -4
- package/build/routes/chrome/http/screenshot.post.body.json +8 -8
- package/build/routes/chrome/http/screenshot.post.query.json +0 -4
- package/build/routes/chrome/ws/browser.query.json +0 -4
- package/build/routes/chrome/ws/cdp.query.json +0 -4
- package/build/routes/chrome/ws/page.query.json +0 -4
- package/build/routes/chrome/ws/playwright.query.json +0 -4
- package/build/routes/chromium/http/content.post.body.json +8 -8
- package/build/routes/chromium/http/content.post.query.json +0 -4
- package/build/routes/chromium/http/download.post.query.json +0 -4
- package/build/routes/chromium/http/function.post.query.json +0 -4
- package/build/routes/chromium/http/pdf.post.body.json +8 -11
- package/build/routes/chromium/http/pdf.post.query.json +0 -4
- package/build/routes/chromium/http/performance.post.query.json +0 -4
- package/build/routes/chromium/http/scrape.post.body.json +8 -8
- package/build/routes/chromium/http/scrape.post.query.json +0 -4
- package/build/routes/chromium/http/screenshot.post.body.json +8 -8
- package/build/routes/chromium/http/screenshot.post.query.json +0 -4
- package/build/routes/chromium/ws/browser.query.json +0 -4
- package/build/routes/chromium/ws/cdp.query.json +0 -4
- package/build/routes/chromium/ws/page.query.json +0 -4
- package/build/routes/chromium/ws/playwright.query.json +0 -4
- package/build/routes/firefox/ws/playwright.query.json +0 -4
- package/build/routes/webkit/ws/playwright.query.json +0 -4
- package/build/server.d.ts +8 -3
- package/build/server.js +15 -13
- package/build/shared/content.http.js +1 -1
- package/build/shared/pdf.http.d.ts +0 -1
- package/build/shared/pdf.http.js +1 -1
- package/build/shared/screenshot.http.js +1 -1
- package/build/token.d.ts +12 -1
- package/build/token.js +14 -1
- package/build/types.d.ts +3 -14
- package/build/webhooks.d.ts +12 -1
- package/build/webhooks.js +14 -1
- package/extensions/.gitkeep +0 -0
- package/package.json +8 -8
- package/src/browserless.ts +17 -4
- package/src/browsers/chromium.cdp.ts +10 -157
- package/src/browsers/chromium.playwright.ts +0 -8
- package/src/browsers/firefox.playwright.ts +0 -8
- package/src/browsers/index.ts +7 -6
- package/src/browsers/webkit.playwright.ts +0 -8
- package/src/config.ts +13 -0
- package/src/constants.ts +0 -1
- package/src/file-system.ts +16 -1
- package/src/http.ts +0 -8
- package/src/limiter.ts +13 -0
- package/src/metrics.ts +16 -1
- package/src/monitoring.ts +18 -2
- package/src/router.ts +20 -9
- package/src/server.ts +18 -16
- package/src/shared/content.http.ts +5 -4
- package/src/shared/pdf.http.ts +4 -5
- package/src/shared/screenshot.http.ts +4 -4
- package/src/token.ts +18 -2
- package/src/types.ts +0 -13
- package/src/webhooks.ts +18 -2
- package/static/docs/swagger.json +10 -192
- package/static/docs/swagger.min.json +9 -191
- package/extensions/screencast/background.js +0 -143
- package/extensions/screencast/content_script.js +0 -18
- package/extensions/screencast/manifest.json +0 -19
package/build/metrics.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
1
2
|
import { IBrowserlessStats } from '@browserless.io/browserless';
|
|
2
|
-
|
|
3
|
+
import { EventEmitter } from 'events';
|
|
4
|
+
export declare class Metrics extends EventEmitter {
|
|
3
5
|
protected sessionTimes: number[];
|
|
4
6
|
protected successful: number;
|
|
5
7
|
protected queued: number;
|
|
@@ -27,4 +29,13 @@ export declare class Metrics {
|
|
|
27
29
|
totalTime: number;
|
|
28
30
|
units: number;
|
|
29
31
|
};
|
|
32
|
+
/**
|
|
33
|
+
* Implement any browserless-core-specific shutdown logic here.
|
|
34
|
+
* Calls the empty-SDK stop method for downstream implementations.
|
|
35
|
+
*/
|
|
36
|
+
shutdown: () => Promise<void>;
|
|
37
|
+
/**
|
|
38
|
+
* Left blank for downstream SDK modules to optionally implement.
|
|
39
|
+
*/
|
|
40
|
+
stop: () => void;
|
|
30
41
|
}
|
package/build/metrics.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { EventEmitter } from 'events';
|
|
2
|
+
export class Metrics extends EventEmitter {
|
|
2
3
|
sessionTimes = [];
|
|
3
4
|
successful = 0;
|
|
4
5
|
queued = 0;
|
|
@@ -83,4 +84,15 @@ export class Metrics {
|
|
|
83
84
|
units: sessionTimes.reduce((sum, value) => sum + Math.ceil(value / 30000), 0),
|
|
84
85
|
};
|
|
85
86
|
}
|
|
87
|
+
/**
|
|
88
|
+
* Implement any browserless-core-specific shutdown logic here.
|
|
89
|
+
* Calls the empty-SDK stop method for downstream implementations.
|
|
90
|
+
*/
|
|
91
|
+
shutdown = async () => {
|
|
92
|
+
await this.stop();
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Left blank for downstream SDK modules to optionally implement.
|
|
96
|
+
*/
|
|
97
|
+
stop = () => { };
|
|
86
98
|
}
|
package/build/monitoring.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/// <reference types="debug" />
|
|
2
|
+
/// <reference types="node" />
|
|
2
3
|
import { Config, IResourceLoad } from '@browserless.io/browserless';
|
|
3
|
-
|
|
4
|
+
import { EventEmitter } from 'events';
|
|
5
|
+
export declare class Monitoring extends EventEmitter {
|
|
4
6
|
protected config: Config;
|
|
5
7
|
protected log: import("debug").Debugger;
|
|
6
8
|
constructor(config: Config);
|
|
@@ -11,4 +13,13 @@ export declare class Monitoring {
|
|
|
11
13
|
memoryInt: number | null;
|
|
12
14
|
memoryOverloaded: boolean;
|
|
13
15
|
}>;
|
|
16
|
+
/**
|
|
17
|
+
* Implement any browserless-core-specific shutdown logic here.
|
|
18
|
+
* Calls the empty-SDK stop method for downstream implementations.
|
|
19
|
+
*/
|
|
20
|
+
shutdown: () => Promise<void>;
|
|
21
|
+
/**
|
|
22
|
+
* Left blank for downstream SDK modules to optionally implement.
|
|
23
|
+
*/
|
|
24
|
+
stop: () => void;
|
|
14
25
|
}
|
package/build/monitoring.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { createLogger, } from '@browserless.io/browserless';
|
|
2
|
+
import { EventEmitter } from 'events';
|
|
2
3
|
import si from 'systeminformation';
|
|
3
|
-
export class Monitoring {
|
|
4
|
+
export class Monitoring extends EventEmitter {
|
|
4
5
|
config;
|
|
5
6
|
log = createLogger('hardware');
|
|
6
7
|
constructor(config) {
|
|
8
|
+
super();
|
|
7
9
|
this.config = config;
|
|
8
10
|
}
|
|
9
11
|
getMachineStats = async () => {
|
|
@@ -35,4 +37,15 @@ export class Monitoring {
|
|
|
35
37
|
memoryOverloaded,
|
|
36
38
|
};
|
|
37
39
|
};
|
|
40
|
+
/**
|
|
41
|
+
* Implement any browserless-core-specific shutdown logic here.
|
|
42
|
+
* Calls the empty-SDK stop method for downstream implementations.
|
|
43
|
+
*/
|
|
44
|
+
shutdown = async () => {
|
|
45
|
+
await this.stop();
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Left blank for downstream SDK modules to optionally implement.
|
|
49
|
+
*/
|
|
50
|
+
stop = () => { };
|
|
38
51
|
}
|
package/build/router.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/// <reference types="debug" />
|
|
2
2
|
/// <reference types="node" />
|
|
3
3
|
/// <reference types="node" />
|
|
4
|
+
/// <reference types="node" />
|
|
4
5
|
import { BrowserHTTPRoute, BrowserManager, BrowserWebsocketRoute, Config, HTTPRoute, Limiter, Request, Response, WebSocketRoute } from '@browserless.io/browserless';
|
|
6
|
+
import { EventEmitter } from 'events';
|
|
5
7
|
import stream from 'stream';
|
|
6
|
-
export declare class Router {
|
|
8
|
+
export declare class Router extends EventEmitter {
|
|
7
9
|
protected config: Config;
|
|
8
10
|
protected browserManager: BrowserManager;
|
|
9
11
|
protected limiter: Limiter;
|
|
@@ -21,8 +23,16 @@ export declare class Router {
|
|
|
21
23
|
protected wrapWebSocketHandler: (route: WebSocketRoute | BrowserWebsocketRoute, handler: WebSocketRoute['handler'] | BrowserWebsocketRoute['handler']) => (req: Request, socket: stream.Duplex, head: Buffer) => Promise<unknown>;
|
|
22
24
|
registerHTTPRoute(route: HTTPRoute | BrowserHTTPRoute): HTTPRoute | BrowserHTTPRoute;
|
|
23
25
|
registerWebSocketRoute(route: WebSocketRoute | BrowserWebsocketRoute): WebSocketRoute | BrowserWebsocketRoute;
|
|
24
|
-
teardown(): Promise<void>;
|
|
25
26
|
getStaticHandler(): HTTPRoute;
|
|
26
27
|
getRouteForHTTPRequest(req: Request): Promise<HTTPRoute | BrowserHTTPRoute | null>;
|
|
27
28
|
getRouteForWebSocketRequest(req: Request): Promise<WebSocketRoute | BrowserWebsocketRoute | undefined>;
|
|
29
|
+
/**
|
|
30
|
+
* Implement any browserless-core-specific shutdown logic here.
|
|
31
|
+
* Calls the empty-SDK stop method for downstream implementations.
|
|
32
|
+
*/
|
|
33
|
+
shutdown: () => Promise<void>;
|
|
34
|
+
/**
|
|
35
|
+
* Left blank for downstream SDK modules to optionally implement.
|
|
36
|
+
*/
|
|
37
|
+
stop: () => void;
|
|
28
38
|
}
|
package/build/router.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HTTPManagementRoutes, contentTypes, createLogger, isConnected, writeResponse, } from '@browserless.io/browserless';
|
|
2
|
+
import { EventEmitter } from 'events';
|
|
2
3
|
import micromatch from 'micromatch';
|
|
3
|
-
export class Router {
|
|
4
|
+
export class Router extends EventEmitter {
|
|
4
5
|
config;
|
|
5
6
|
browserManager;
|
|
6
7
|
limiter;
|
|
@@ -9,6 +10,7 @@ export class Router {
|
|
|
9
10
|
httpRoutes = [];
|
|
10
11
|
webSocketRoutes = [];
|
|
11
12
|
constructor(config, browserManager, limiter) {
|
|
13
|
+
super();
|
|
12
14
|
this.config = config;
|
|
13
15
|
this.browserManager = browserManager;
|
|
14
16
|
this.limiter = limiter;
|
|
@@ -129,11 +131,6 @@ export class Router {
|
|
|
129
131
|
this.webSocketRoutes.push(route);
|
|
130
132
|
return route;
|
|
131
133
|
}
|
|
132
|
-
teardown() {
|
|
133
|
-
this.httpRoutes = [];
|
|
134
|
-
this.webSocketRoutes = [];
|
|
135
|
-
return this.browserManager.stop();
|
|
136
|
-
}
|
|
137
134
|
getStaticHandler() {
|
|
138
135
|
return this.httpRoutes.find((route) => route.path.includes(HTTPManagementRoutes.static));
|
|
139
136
|
}
|
|
@@ -156,4 +153,17 @@ export class Router {
|
|
|
156
153
|
// Once registered, paths are always an array here.
|
|
157
154
|
r.path.some((p) => micromatch.isMatch(pathname, p)));
|
|
158
155
|
}
|
|
156
|
+
/**
|
|
157
|
+
* Implement any browserless-core-specific shutdown logic here.
|
|
158
|
+
* Calls the empty-SDK stop method for downstream implementations.
|
|
159
|
+
*/
|
|
160
|
+
shutdown = async () => {
|
|
161
|
+
this.httpRoutes = [];
|
|
162
|
+
this.webSocketRoutes = [];
|
|
163
|
+
await this.stop();
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* Left blank for downstream SDK modules to optionally implement.
|
|
167
|
+
*/
|
|
168
|
+
stop = () => { };
|
|
159
169
|
}
|
|
@@ -394,14 +394,14 @@
|
|
|
394
394
|
"length": {
|
|
395
395
|
"type": "number"
|
|
396
396
|
},
|
|
397
|
-
"__@toStringTag@
|
|
397
|
+
"__@toStringTag@10915": {
|
|
398
398
|
"type": "string",
|
|
399
399
|
"const": "Uint8Array"
|
|
400
400
|
}
|
|
401
401
|
},
|
|
402
402
|
"required": [
|
|
403
403
|
"BYTES_PER_ELEMENT",
|
|
404
|
-
"__@toStringTag@
|
|
404
|
+
"__@toStringTag@10915",
|
|
405
405
|
"buffer",
|
|
406
406
|
"byteLength",
|
|
407
407
|
"byteOffset",
|
|
@@ -436,13 +436,13 @@
|
|
|
436
436
|
"byteLength": {
|
|
437
437
|
"type": "number"
|
|
438
438
|
},
|
|
439
|
-
"__@toStringTag@
|
|
439
|
+
"__@toStringTag@10915": {
|
|
440
440
|
"type": "string"
|
|
441
441
|
}
|
|
442
442
|
},
|
|
443
443
|
"additionalProperties": false,
|
|
444
444
|
"required": [
|
|
445
|
-
"__@toStringTag@
|
|
445
|
+
"__@toStringTag@10915",
|
|
446
446
|
"byteLength"
|
|
447
447
|
]
|
|
448
448
|
},
|
|
@@ -452,18 +452,18 @@
|
|
|
452
452
|
"byteLength": {
|
|
453
453
|
"type": "number"
|
|
454
454
|
},
|
|
455
|
-
"__@species@
|
|
455
|
+
"__@species@11016": {
|
|
456
456
|
"$ref": "#/definitions/SharedArrayBuffer"
|
|
457
457
|
},
|
|
458
|
-
"__@toStringTag@
|
|
458
|
+
"__@toStringTag@10915": {
|
|
459
459
|
"type": "string",
|
|
460
460
|
"const": "SharedArrayBuffer"
|
|
461
461
|
}
|
|
462
462
|
},
|
|
463
463
|
"additionalProperties": false,
|
|
464
464
|
"required": [
|
|
465
|
-
"__@species@
|
|
466
|
-
"__@toStringTag@
|
|
465
|
+
"__@species@11016",
|
|
466
|
+
"__@toStringTag@10915",
|
|
467
467
|
"byteLength"
|
|
468
468
|
]
|
|
469
469
|
},
|
|
@@ -16,10 +16,6 @@
|
|
|
16
16
|
}
|
|
17
17
|
]
|
|
18
18
|
},
|
|
19
|
-
"record": {
|
|
20
|
-
"description": "Whether or nor to record the session. The browser will run\nin \"head-full\" mode, and recording is started and closed\nvia the embedded browserless API. Please refer to the \"Recording\"\nsection in the live documentation site for more details.",
|
|
21
|
-
"type": "boolean"
|
|
22
|
-
},
|
|
23
19
|
"timeout": {
|
|
24
20
|
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
25
21
|
"type": "number"
|
|
@@ -16,10 +16,6 @@
|
|
|
16
16
|
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock Origin and may cause certain sites\nto not load properly.",
|
|
17
17
|
"type": "boolean"
|
|
18
18
|
},
|
|
19
|
-
"record": {
|
|
20
|
-
"description": "Whether or nor to record the session. The browser will run\nin \"head-full\" mode, and recording is started and closed\nvia the embedded browserless API. Please refer to the \"Recording\"\nsection in the live documentation site for more details.",
|
|
21
|
-
"type": "boolean"
|
|
22
|
-
},
|
|
23
19
|
"timeout": {
|
|
24
20
|
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
25
21
|
"type": "number"
|
|
@@ -16,10 +16,6 @@
|
|
|
16
16
|
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock Origin and may cause certain sites\nto not load properly.",
|
|
17
17
|
"type": "boolean"
|
|
18
18
|
},
|
|
19
|
-
"record": {
|
|
20
|
-
"description": "Whether or nor to record the session. The browser will run\nin \"head-full\" mode, and recording is started and closed\nvia the embedded browserless API. Please refer to the \"Recording\"\nsection in the live documentation site for more details.",
|
|
21
|
-
"type": "boolean"
|
|
22
|
-
},
|
|
23
19
|
"timeout": {
|
|
24
20
|
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
25
21
|
"type": "number"
|
|
@@ -20,9 +20,6 @@
|
|
|
20
20
|
"description": "When bestAttempt is set to true, browserless attempt to proceed\nwhen \"awaited\" events fail or timeout. This includes things like\ngoto, waitForSelector, and more.",
|
|
21
21
|
"type": "boolean"
|
|
22
22
|
},
|
|
23
|
-
"blockModals": {
|
|
24
|
-
"type": "boolean"
|
|
25
|
-
},
|
|
26
23
|
"cookies": {
|
|
27
24
|
"type": "array",
|
|
28
25
|
"items": {
|
|
@@ -538,14 +535,14 @@
|
|
|
538
535
|
"length": {
|
|
539
536
|
"type": "number"
|
|
540
537
|
},
|
|
541
|
-
"__@toStringTag@
|
|
538
|
+
"__@toStringTag@86785": {
|
|
542
539
|
"type": "string",
|
|
543
540
|
"const": "Uint8Array"
|
|
544
541
|
}
|
|
545
542
|
},
|
|
546
543
|
"required": [
|
|
547
544
|
"BYTES_PER_ELEMENT",
|
|
548
|
-
"__@toStringTag@
|
|
545
|
+
"__@toStringTag@86785",
|
|
549
546
|
"buffer",
|
|
550
547
|
"byteLength",
|
|
551
548
|
"byteOffset",
|
|
@@ -580,13 +577,13 @@
|
|
|
580
577
|
"byteLength": {
|
|
581
578
|
"type": "number"
|
|
582
579
|
},
|
|
583
|
-
"__@toStringTag@
|
|
580
|
+
"__@toStringTag@86785": {
|
|
584
581
|
"type": "string"
|
|
585
582
|
}
|
|
586
583
|
},
|
|
587
584
|
"additionalProperties": false,
|
|
588
585
|
"required": [
|
|
589
|
-
"__@toStringTag@
|
|
586
|
+
"__@toStringTag@86785",
|
|
590
587
|
"byteLength"
|
|
591
588
|
]
|
|
592
589
|
},
|
|
@@ -596,18 +593,18 @@
|
|
|
596
593
|
"byteLength": {
|
|
597
594
|
"type": "number"
|
|
598
595
|
},
|
|
599
|
-
"__@species@
|
|
596
|
+
"__@species@86886": {
|
|
600
597
|
"$ref": "#/definitions/SharedArrayBuffer"
|
|
601
598
|
},
|
|
602
|
-
"__@toStringTag@
|
|
599
|
+
"__@toStringTag@86785": {
|
|
603
600
|
"type": "string",
|
|
604
601
|
"const": "SharedArrayBuffer"
|
|
605
602
|
}
|
|
606
603
|
},
|
|
607
604
|
"additionalProperties": false,
|
|
608
605
|
"required": [
|
|
609
|
-
"__@species@
|
|
610
|
-
"__@toStringTag@
|
|
606
|
+
"__@species@86886",
|
|
607
|
+
"__@toStringTag@86785",
|
|
611
608
|
"byteLength"
|
|
612
609
|
]
|
|
613
610
|
},
|
|
@@ -16,10 +16,6 @@
|
|
|
16
16
|
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock Origin and may cause certain sites\nto not load properly.",
|
|
17
17
|
"type": "boolean"
|
|
18
18
|
},
|
|
19
|
-
"record": {
|
|
20
|
-
"description": "Whether or nor to record the session. The browser will run\nin \"head-full\" mode, and recording is started and closed\nvia the embedded browserless API. Please refer to the \"Recording\"\nsection in the live documentation site for more details.",
|
|
21
|
-
"type": "boolean"
|
|
22
|
-
},
|
|
23
19
|
"timeout": {
|
|
24
20
|
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
25
21
|
"type": "number"
|
|
@@ -16,10 +16,6 @@
|
|
|
16
16
|
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock Origin and may cause certain sites\nto not load properly.",
|
|
17
17
|
"type": "boolean"
|
|
18
18
|
},
|
|
19
|
-
"record": {
|
|
20
|
-
"description": "Whether or nor to record the session. The browser will run\nin \"head-full\" mode, and recording is started and closed\nvia the embedded browserless API. Please refer to the \"Recording\"\nsection in the live documentation site for more details.",
|
|
21
|
-
"type": "boolean"
|
|
22
|
-
},
|
|
23
19
|
"timeout": {
|
|
24
20
|
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
25
21
|
"type": "number"
|
|
@@ -441,14 +441,14 @@
|
|
|
441
441
|
"length": {
|
|
442
442
|
"type": "number"
|
|
443
443
|
},
|
|
444
|
-
"__@toStringTag@
|
|
444
|
+
"__@toStringTag@130822": {
|
|
445
445
|
"type": "string",
|
|
446
446
|
"const": "Uint8Array"
|
|
447
447
|
}
|
|
448
448
|
},
|
|
449
449
|
"required": [
|
|
450
450
|
"BYTES_PER_ELEMENT",
|
|
451
|
-
"__@toStringTag@
|
|
451
|
+
"__@toStringTag@130822",
|
|
452
452
|
"buffer",
|
|
453
453
|
"byteLength",
|
|
454
454
|
"byteOffset",
|
|
@@ -483,13 +483,13 @@
|
|
|
483
483
|
"byteLength": {
|
|
484
484
|
"type": "number"
|
|
485
485
|
},
|
|
486
|
-
"__@toStringTag@
|
|
486
|
+
"__@toStringTag@130822": {
|
|
487
487
|
"type": "string"
|
|
488
488
|
}
|
|
489
489
|
},
|
|
490
490
|
"additionalProperties": false,
|
|
491
491
|
"required": [
|
|
492
|
-
"__@toStringTag@
|
|
492
|
+
"__@toStringTag@130822",
|
|
493
493
|
"byteLength"
|
|
494
494
|
]
|
|
495
495
|
},
|
|
@@ -499,18 +499,18 @@
|
|
|
499
499
|
"byteLength": {
|
|
500
500
|
"type": "number"
|
|
501
501
|
},
|
|
502
|
-
"__@species@
|
|
502
|
+
"__@species@130923": {
|
|
503
503
|
"$ref": "#/definitions/SharedArrayBuffer"
|
|
504
504
|
},
|
|
505
|
-
"__@toStringTag@
|
|
505
|
+
"__@toStringTag@130822": {
|
|
506
506
|
"type": "string",
|
|
507
507
|
"const": "SharedArrayBuffer"
|
|
508
508
|
}
|
|
509
509
|
},
|
|
510
510
|
"additionalProperties": false,
|
|
511
511
|
"required": [
|
|
512
|
-
"__@species@
|
|
513
|
-
"__@toStringTag@
|
|
512
|
+
"__@species@130923",
|
|
513
|
+
"__@toStringTag@130822",
|
|
514
514
|
"byteLength"
|
|
515
515
|
]
|
|
516
516
|
},
|
|
@@ -16,10 +16,6 @@
|
|
|
16
16
|
}
|
|
17
17
|
]
|
|
18
18
|
},
|
|
19
|
-
"record": {
|
|
20
|
-
"description": "Whether or nor to record the session. The browser will run\nin \"head-full\" mode, and recording is started and closed\nvia the embedded browserless API. Please refer to the \"Recording\"\nsection in the live documentation site for more details.",
|
|
21
|
-
"type": "boolean"
|
|
22
|
-
},
|
|
23
19
|
"timeout": {
|
|
24
20
|
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
25
21
|
"type": "number"
|
|
@@ -484,14 +484,14 @@
|
|
|
484
484
|
"length": {
|
|
485
485
|
"type": "number"
|
|
486
486
|
},
|
|
487
|
-
"__@toStringTag@
|
|
487
|
+
"__@toStringTag@97868": {
|
|
488
488
|
"type": "string",
|
|
489
489
|
"const": "Uint8Array"
|
|
490
490
|
}
|
|
491
491
|
},
|
|
492
492
|
"required": [
|
|
493
493
|
"BYTES_PER_ELEMENT",
|
|
494
|
-
"__@toStringTag@
|
|
494
|
+
"__@toStringTag@97868",
|
|
495
495
|
"buffer",
|
|
496
496
|
"byteLength",
|
|
497
497
|
"byteOffset",
|
|
@@ -526,13 +526,13 @@
|
|
|
526
526
|
"byteLength": {
|
|
527
527
|
"type": "number"
|
|
528
528
|
},
|
|
529
|
-
"__@toStringTag@
|
|
529
|
+
"__@toStringTag@97868": {
|
|
530
530
|
"type": "string"
|
|
531
531
|
}
|
|
532
532
|
},
|
|
533
533
|
"additionalProperties": false,
|
|
534
534
|
"required": [
|
|
535
|
-
"__@toStringTag@
|
|
535
|
+
"__@toStringTag@97868",
|
|
536
536
|
"byteLength"
|
|
537
537
|
]
|
|
538
538
|
},
|
|
@@ -542,18 +542,18 @@
|
|
|
542
542
|
"byteLength": {
|
|
543
543
|
"type": "number"
|
|
544
544
|
},
|
|
545
|
-
"__@species@
|
|
545
|
+
"__@species@97969": {
|
|
546
546
|
"$ref": "#/definitions/SharedArrayBuffer"
|
|
547
547
|
},
|
|
548
|
-
"__@toStringTag@
|
|
548
|
+
"__@toStringTag@97868": {
|
|
549
549
|
"type": "string",
|
|
550
550
|
"const": "SharedArrayBuffer"
|
|
551
551
|
}
|
|
552
552
|
},
|
|
553
553
|
"additionalProperties": false,
|
|
554
554
|
"required": [
|
|
555
|
-
"__@species@
|
|
556
|
-
"__@toStringTag@
|
|
555
|
+
"__@species@97969",
|
|
556
|
+
"__@toStringTag@97868",
|
|
557
557
|
"byteLength"
|
|
558
558
|
]
|
|
559
559
|
},
|
|
@@ -16,10 +16,6 @@
|
|
|
16
16
|
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock Origin and may cause certain sites\nto not load properly.",
|
|
17
17
|
"type": "boolean"
|
|
18
18
|
},
|
|
19
|
-
"record": {
|
|
20
|
-
"description": "Whether or nor to record the session. The browser will run\nin \"head-full\" mode, and recording is started and closed\nvia the embedded browserless API. Please refer to the \"Recording\"\nsection in the live documentation site for more details.",
|
|
21
|
-
"type": "boolean"
|
|
22
|
-
},
|
|
23
19
|
"timeout": {
|
|
24
20
|
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
25
21
|
"type": "number"
|
|
@@ -16,10 +16,6 @@
|
|
|
16
16
|
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock Origin and may cause certain sites\nto not load properly.",
|
|
17
17
|
"type": "boolean"
|
|
18
18
|
},
|
|
19
|
-
"record": {
|
|
20
|
-
"description": "Whether or nor to record the session. The browser will run\nin \"head-full\" mode, and recording is started and closed\nvia the embedded browserless API. Please refer to the \"Recording\"\nsection in the live documentation site for more details.",
|
|
21
|
-
"type": "boolean"
|
|
22
|
-
},
|
|
23
19
|
"timeout": {
|
|
24
20
|
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
25
21
|
"type": "number"
|
|
@@ -16,10 +16,6 @@
|
|
|
16
16
|
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock Origin and may cause certain sites\nto not load properly.",
|
|
17
17
|
"type": "boolean"
|
|
18
18
|
},
|
|
19
|
-
"record": {
|
|
20
|
-
"description": "Whether or nor to record the session. The browser will run\nin \"head-full\" mode, and recording is started and closed\nvia the embedded browserless API. Please refer to the \"Recording\"\nsection in the live documentation site for more details.",
|
|
21
|
-
"type": "boolean"
|
|
22
|
-
},
|
|
23
19
|
"timeout": {
|
|
24
20
|
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
25
21
|
"type": "number"
|
|
@@ -16,10 +16,6 @@
|
|
|
16
16
|
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock Origin and may cause certain sites\nto not load properly.",
|
|
17
17
|
"type": "boolean"
|
|
18
18
|
},
|
|
19
|
-
"record": {
|
|
20
|
-
"description": "Whether or nor to record the session. The browser will run\nin \"head-full\" mode, and recording is started and closed\nvia the embedded browserless API. Please refer to the \"Recording\"\nsection in the live documentation site for more details.",
|
|
21
|
-
"type": "boolean"
|
|
22
|
-
},
|
|
23
19
|
"timeout": {
|
|
24
20
|
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
25
21
|
"type": "number"
|
|
@@ -16,10 +16,6 @@
|
|
|
16
16
|
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock Origin and may cause certain sites\nto not load properly.",
|
|
17
17
|
"type": "boolean"
|
|
18
18
|
},
|
|
19
|
-
"record": {
|
|
20
|
-
"description": "Whether or nor to record the session. The browser will run\nin \"head-full\" mode, and recording is started and closed\nvia the embedded browserless API. Please refer to the \"Recording\"\nsection in the live documentation site for more details.",
|
|
21
|
-
"type": "boolean"
|
|
22
|
-
},
|
|
23
19
|
"timeout": {
|
|
24
20
|
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
25
21
|
"type": "number"
|
|
@@ -394,14 +394,14 @@
|
|
|
394
394
|
"length": {
|
|
395
395
|
"type": "number"
|
|
396
396
|
},
|
|
397
|
-
"__@toStringTag@
|
|
397
|
+
"__@toStringTag@119733": {
|
|
398
398
|
"type": "string",
|
|
399
399
|
"const": "Uint8Array"
|
|
400
400
|
}
|
|
401
401
|
},
|
|
402
402
|
"required": [
|
|
403
403
|
"BYTES_PER_ELEMENT",
|
|
404
|
-
"__@toStringTag@
|
|
404
|
+
"__@toStringTag@119733",
|
|
405
405
|
"buffer",
|
|
406
406
|
"byteLength",
|
|
407
407
|
"byteOffset",
|
|
@@ -436,13 +436,13 @@
|
|
|
436
436
|
"byteLength": {
|
|
437
437
|
"type": "number"
|
|
438
438
|
},
|
|
439
|
-
"__@toStringTag@
|
|
439
|
+
"__@toStringTag@119733": {
|
|
440
440
|
"type": "string"
|
|
441
441
|
}
|
|
442
442
|
},
|
|
443
443
|
"additionalProperties": false,
|
|
444
444
|
"required": [
|
|
445
|
-
"__@toStringTag@
|
|
445
|
+
"__@toStringTag@119733",
|
|
446
446
|
"byteLength"
|
|
447
447
|
]
|
|
448
448
|
},
|
|
@@ -452,18 +452,18 @@
|
|
|
452
452
|
"byteLength": {
|
|
453
453
|
"type": "number"
|
|
454
454
|
},
|
|
455
|
-
"__@species@
|
|
455
|
+
"__@species@119834": {
|
|
456
456
|
"$ref": "#/definitions/SharedArrayBuffer"
|
|
457
457
|
},
|
|
458
|
-
"__@toStringTag@
|
|
458
|
+
"__@toStringTag@119733": {
|
|
459
459
|
"type": "string",
|
|
460
460
|
"const": "SharedArrayBuffer"
|
|
461
461
|
}
|
|
462
462
|
},
|
|
463
463
|
"additionalProperties": false,
|
|
464
464
|
"required": [
|
|
465
|
-
"__@species@
|
|
466
|
-
"__@toStringTag@
|
|
465
|
+
"__@species@119834",
|
|
466
|
+
"__@toStringTag@119733",
|
|
467
467
|
"byteLength"
|
|
468
468
|
]
|
|
469
469
|
},
|
|
@@ -16,10 +16,6 @@
|
|
|
16
16
|
}
|
|
17
17
|
]
|
|
18
18
|
},
|
|
19
|
-
"record": {
|
|
20
|
-
"description": "Whether or nor to record the session. The browser will run\nin \"head-full\" mode, and recording is started and closed\nvia the embedded browserless API. Please refer to the \"Recording\"\nsection in the live documentation site for more details.",
|
|
21
|
-
"type": "boolean"
|
|
22
|
-
},
|
|
23
19
|
"timeout": {
|
|
24
20
|
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
25
21
|
"type": "number"
|
|
@@ -16,10 +16,6 @@
|
|
|
16
16
|
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock Origin and may cause certain sites\nto not load properly.",
|
|
17
17
|
"type": "boolean"
|
|
18
18
|
},
|
|
19
|
-
"record": {
|
|
20
|
-
"description": "Whether or nor to record the session. The browser will run\nin \"head-full\" mode, and recording is started and closed\nvia the embedded browserless API. Please refer to the \"Recording\"\nsection in the live documentation site for more details.",
|
|
21
|
-
"type": "boolean"
|
|
22
|
-
},
|
|
23
19
|
"timeout": {
|
|
24
20
|
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
25
21
|
"type": "number"
|
|
@@ -16,10 +16,6 @@
|
|
|
16
16
|
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock Origin and may cause certain sites\nto not load properly.",
|
|
17
17
|
"type": "boolean"
|
|
18
18
|
},
|
|
19
|
-
"record": {
|
|
20
|
-
"description": "Whether or nor to record the session. The browser will run\nin \"head-full\" mode, and recording is started and closed\nvia the embedded browserless API. Please refer to the \"Recording\"\nsection in the live documentation site for more details.",
|
|
21
|
-
"type": "boolean"
|
|
22
|
-
},
|
|
23
19
|
"timeout": {
|
|
24
20
|
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
25
21
|
"type": "number"
|