Catch browser.html() exceptions in NPM driver

main
Elbert Alias 7 years ago
parent 0c53f79a54
commit 85ec4c6945

@ -119,7 +119,7 @@ class Driver {
} catch ( e ) { } catch ( e ) {
this.wappalyzer.log(error.message, 'browser', 'error'); this.wappalyzer.log(error.message, 'browser', 'error');
return resolve(); const html = '';
} }
const vars = Object.getOwnPropertyNames(browser.window); const vars = Object.getOwnPropertyNames(browser.window);