|
|
@@ -40,6 +40,7 @@ const args = require("yargs")
|
|
|
"browser-load-max-time": 60000,
|
|
|
"browser-wait-until": "networkidle0",
|
|
|
"browser-debug": false,
|
|
|
+ "browser-extensions": [],
|
|
|
"compress-CSS": true,
|
|
|
"compress-HTML": true,
|
|
|
"filename-template": "",
|
|
|
@@ -78,6 +79,8 @@ const args = require("yargs")
|
|
|
.choices("browser-wait-until", ["networkidle0", "networkidle2", "load", "domcontentloaded"])
|
|
|
.options("browser-debug", { description: "Enable debug mode (puppeteer, webdriver-gecko, webdriver-chromium)" })
|
|
|
.boolean("browser-debug")
|
|
|
+ .options("browser-extensions", { description: "Extension paths separated by a space (webdriver-gecko, webdriver-chromium)" })
|
|
|
+ .array("browser-extensions")
|
|
|
.options("compress-CSS", { description: "Compress CSS stylesheets" })
|
|
|
.boolean("compress-CSS")
|
|
|
.options("compress-HTML", { description: "Compress HTML content" })
|