|
1 | | -"use strict"; |
2 | | - |
3 | | -module.exports = { |
4 | | - reloadReadyDelay: 5000, |
5 | | - completeReloadDelay: 10000, |
6 | | - initConsoleDelay: 3000, |
7 | | - awaitServerCloseDelay: 1000, |
8 | | - beforeBrowserCloseDelay: 3000, |
9 | | - puppeteerArgs: [ |
10 | | - "--disable-background-timer-throttling", |
11 | | - "--disable-breakpad", |
12 | | - "--disable-client-side-phishing-detection", |
13 | | - "--disable-cloud-import", |
14 | | - "--disable-default-apps", |
15 | | - "--disable-dev-shm-usage", |
16 | | - "--disable-extensions", |
17 | | - "--disable-gesture-typing", |
18 | | - "--disable-hang-monitor", |
19 | | - "--disable-infobars", |
20 | | - "--disable-notifications", |
21 | | - "--disable-offer-store-unmasked-wallet-cards", |
22 | | - "--disable-offer-upload-credit-cards", |
23 | | - "--disable-popup-blocking", |
24 | | - "--disable-print-preview", |
25 | | - "--disable-prompt-on-repost", |
26 | | - "--disable-setuid-sandbox", |
27 | | - "--disable-speech-api", |
28 | | - "--disable-sync", |
29 | | - "--disable-tab-for-desktop-share", |
30 | | - "--disable-translate", |
31 | | - "--disable-voice-input", |
32 | | - "--disable-wake-on-wifi", |
33 | | - "--enable-async-dns", |
34 | | - "--enable-simple-cache-backend", |
35 | | - "--enable-tcp-fast-open", |
36 | | - "--enable-webgl", |
37 | | - "--hide-scrollbars", |
38 | | - "--ignore-gpu-blacklist", |
39 | | - "--media-cache-size=33554432", |
40 | | - "--metrics-recording-only", |
41 | | - "--mute-audio", |
42 | | - "--no-default-browser-check", |
43 | | - "--no-first-run", |
44 | | - "--no-pings", |
45 | | - "--no-sandbox", |
46 | | - "--no-zygote", |
47 | | - "--password-store=basic", |
48 | | - "--prerender-from-omnibox=disabled", |
49 | | - "--use-gl=swiftshader", |
50 | | - "--use-mock-keychain", |
51 | | - "--disable-field-trial-config", |
52 | | - ], |
53 | | -}; |
| 1 | +export const reloadReadyDelay = 5000; |
| 2 | +export const completeReloadDelay = 10000; |
| 3 | +export const initConsoleDelay = 3000; |
| 4 | +export const awaitServerCloseDelay = 1000; |
| 5 | +export const beforeBrowserCloseDelay = 3000; |
| 6 | +export const puppeteerArgs = [ |
| 7 | + "--disable-background-timer-throttling", |
| 8 | + "--disable-breakpad", |
| 9 | + "--disable-client-side-phishing-detection", |
| 10 | + "--disable-cloud-import", |
| 11 | + "--disable-default-apps", |
| 12 | + "--disable-dev-shm-usage", |
| 13 | + "--disable-extensions", |
| 14 | + "--disable-gesture-typing", |
| 15 | + "--disable-hang-monitor", |
| 16 | + "--disable-infobars", |
| 17 | + "--disable-notifications", |
| 18 | + "--disable-offer-store-unmasked-wallet-cards", |
| 19 | + "--disable-offer-upload-credit-cards", |
| 20 | + "--disable-popup-blocking", |
| 21 | + "--disable-print-preview", |
| 22 | + "--disable-prompt-on-repost", |
| 23 | + "--disable-setuid-sandbox", |
| 24 | + "--disable-speech-api", |
| 25 | + "--disable-sync", |
| 26 | + "--disable-tab-for-desktop-share", |
| 27 | + "--disable-translate", |
| 28 | + "--disable-voice-input", |
| 29 | + "--disable-wake-on-wifi", |
| 30 | + "--enable-async-dns", |
| 31 | + "--enable-simple-cache-backend", |
| 32 | + "--enable-tcp-fast-open", |
| 33 | + "--enable-webgl", |
| 34 | + "--hide-scrollbars", |
| 35 | + "--ignore-gpu-blacklist", |
| 36 | + "--media-cache-size=33554432", |
| 37 | + "--metrics-recording-only", |
| 38 | + "--mute-audio", |
| 39 | + "--no-default-browser-check", |
| 40 | + "--no-first-run", |
| 41 | + "--no-pings", |
| 42 | + "--no-sandbox", |
| 43 | + "--no-zygote", |
| 44 | + "--password-store=basic", |
| 45 | + "--prerender-from-omnibox=disabled", |
| 46 | + "--use-gl=swiftshader", |
| 47 | + "--use-mock-keychain", |
| 48 | + "--disable-field-trial-config", |
| 49 | +]; |
0 commit comments