|
@@ -69,11 +69,10 @@ const args = require("yargs")
|
|
|
.number("browser-width")
|
|
.number("browser-width")
|
|
|
.options("browser-height", { description: "Height of the browser viewport in pixels" })
|
|
.options("browser-height", { description: "Height of the browser viewport in pixels" })
|
|
|
.number("browser-height")
|
|
.number("browser-height")
|
|
|
- .options("browser-wait-until", { description: "When to consider the page is loaded (puppeteer)" })
|
|
|
|
|
|
|
+ .options("browser-wait-until", { description: "When to consider the page is loaded (puppeteer, webdriver-firefox, webdriver-chrome)" })
|
|
|
.choices("browser-wait-until", ["networkidle0", "networkidle2", "load", "domcontentloaded"])
|
|
.choices("browser-wait-until", ["networkidle0", "networkidle2", "load", "domcontentloaded"])
|
|
|
.options("enable-MAFF", { description: "Enables support of MAFF pages with Firefox < 57 (webdriver-firefox)" })
|
|
.options("enable-MAFF", { description: "Enables support of MAFF pages with Firefox < 57 (webdriver-firefox)" })
|
|
|
.boolean("enable-MAFF")
|
|
.boolean("enable-MAFF")
|
|
|
- .choices("browser-wait-until", ["networkidle0", "networkidle2", "load", "domcontentloaded"])
|
|
|
|
|
.options("compress-CSS", { description: "Compress CSS stylesheets" })
|
|
.options("compress-CSS", { description: "Compress CSS stylesheets" })
|
|
|
.boolean("compress-CSS")
|
|
.boolean("compress-CSS")
|
|
|
.options("compress-HTML", { description: "Compress HTML content" })
|
|
.options("compress-HTML", { description: "Compress HTML content" })
|