Explorar el Código

set removeFrames to true by default

Gildas hace 7 años
padre
commit
6424b516b3
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      node-webdriver/example-webdriver.js

+ 1 - 2
node-webdriver/example-webdriver.js

@@ -29,12 +29,11 @@ const SingleFile = require("../node-index.js").webdriver;
 
 SingleFile.getPageData({
 	url: "https://github.com/gildas-lormeau/SingleFile",
-	// webdriverBrowser: "Chrome",
 	// userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) Gecko Firefox AppleWebKit (KHTML, like Gecko) Chrome Safari",
 	removeHiddenElements: true,
 	removeUnusedStyles: true,
 	removeUnusedFonts: true,
-	removeFrames: true,
+	loadDeferredImages: true,
 	removeImports: true,
 	removeScripts: true,
 	compressHTML: true,