1
0
Gildas 7 жил өмнө
parent
commit
14dc678446
1 өөрчлөгдсөн 1 нэмэгдсэн , 2 устгасан
  1. 1 2
      cli/single-file.js

+ 1 - 2
cli/single-file.js

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