Merge pull request #743 from SLonoed/master

page.onError handler
main
Elbert Alias 10 years ago
commit 7dcdc60875

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

@ -93,6 +93,9 @@
page.onConsoleMessage = function(message) {
wappalyzer.log(message);
};
page.onError = function(message) {
wappalyzer.log('Page error: ' + message);
};
page.onResourceReceived = function(response) {
if ( response.url.replace(/\/$/, '') === url.replace(/\/$/, '') ) {