testaro 74.2.0 → 74.2.1
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 +1 -1
- package/run.js +7 -8
package/package.json
CHANGED
package/run.js
CHANGED
|
@@ -21,16 +21,15 @@ require('dotenv').config({quiet: true});
|
|
|
21
21
|
const {isValidJob} = require('./procs/job');
|
|
22
22
|
const {getCatalog} = require('./procs/catalog');
|
|
23
23
|
const {nowString} = require('./procs/dateTime');
|
|
24
|
-
|
|
25
|
-
const {chromium} = require('playwright-extra');
|
|
24
|
+
const {chromium, webkit, firefox} = require('playwright-extra');
|
|
26
25
|
const fs = require('fs').promises;
|
|
27
26
|
const os = require('os');
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
/*
|
|
28
|
+
Module to evade detection of Chromium automation. Injects launch flags
|
|
29
|
+
(e.g., `--disable-blink-features=AutomationControlled`) and patches
|
|
30
|
+
Blink-only DOM globals. Job-level opt-out for Chromium happens in
|
|
31
|
+
procs/launch.js via the `stealth` field.
|
|
32
|
+
*/
|
|
34
33
|
const StealthPlugin = require('puppeteer-extra-plugin-stealth');
|
|
35
34
|
chromium.use(StealthPlugin());
|
|
36
35
|
|