@crawlee/browser-pool 4.0.0-beta.277 → 4.0.0-beta.279
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crawlee/browser-pool",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.279",
|
|
4
4
|
"description": "Rotate multiple browsers using popular automation libraries such as Playwright or Puppeteer.",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=22.13.0"
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@apify/timeout": "^1.0.1",
|
|
34
|
-
"@crawlee/core": "4.0.0-beta.
|
|
35
|
-
"@crawlee/types": "4.0.0-beta.
|
|
36
|
-
"@crawlee/utils": "4.0.0-beta.
|
|
34
|
+
"@crawlee/core": "4.0.0-beta.279",
|
|
35
|
+
"@crawlee/types": "4.0.0-beta.279",
|
|
36
|
+
"@crawlee/utils": "4.0.0-beta.279",
|
|
37
37
|
"fingerprint-generator": "^2.1.89",
|
|
38
38
|
"fingerprint-injector": "^2.1.89",
|
|
39
39
|
"lodash.merge": "^4.6.2",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "c48476d4a812b8c65f3316979a8eb59f17975a24"
|
|
68
68
|
}
|
|
@@ -7,10 +7,7 @@ const PROXY_SERVER_ARG = '--proxy-server=';
|
|
|
7
7
|
export class PuppeteerPlugin extends BrowserPlugin {
|
|
8
8
|
async _launch(launchContext) {
|
|
9
9
|
const oldPuppeteerVersion = await this.isOldPuppeteerVersion();
|
|
10
|
-
const { launchOptions, userDataDir,
|
|
11
|
-
if (experimentalContainers) {
|
|
12
|
-
throw new Error('Experimental containers are only available with Playwright');
|
|
13
|
-
}
|
|
10
|
+
const { launchOptions, userDataDir, proxyUrl } = launchContext;
|
|
14
11
|
launchOptions.userDataDir = launchOptions.userDataDir ?? userDataDir;
|
|
15
12
|
if (launchOptions.headless === false) {
|
|
16
13
|
if (Array.isArray(launchOptions.args)) {
|