Fix issue where page.url() would be "about:blank"

main
Elbert Alias 3 years ago
parent 0b4c8cfa1b
commit 061f7438d4

@ -643,6 +643,10 @@ class Site {
} }
} }
if (page.url() === 'about:blank') {
throw new Error('The website failed to load')
}
if (!this.options.noScripts) { if (!this.options.noScripts) {
await sleep(1000) await sleep(1000)
} }

@ -13,7 +13,7 @@
"software" "software"
], ],
"homepage": "https://www.wappalyzer.com/", "homepage": "https://www.wappalyzer.com/",
"version": "6.10.21", "version": "6.10.22",
"author": "Wappalyzer", "author": "Wappalyzer",
"license": "MIT", "license": "MIT",
"repository": { "repository": {