…ge in zombie.js
The .visit() method, the way it is being used here, expecting 3 variables in the callback (err, browser, status), should be a static method, rather than an instance method.
The instance method in zombie.js does not give the callback those 3 variables, causing "var links = browser.queryAll('a');" to throw an exception, as browser will be null.
Reference: https://github.com/assaf/zombie

…ndling incorrect html (<a> without href attribute)
Caught exception: TypeError: Parameter 'url' must be a string, not object
TypeError: Parameter 'url' must be a string, not object
This would happen because url = null in the case where the href attribute is not defined in the HTML