Created
February 21, 2011 15:58
-
-
Save garrensmith/837260 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Zombie: GET http://localhost:3000/ | |
| Zombie: GET http://localhost:3000/ => 200 | |
| Zombie: GET https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js | |
| Zombie: GET http://localhost:3000/javascripts/frontpage.js | |
| Zombie: GET http://localhost:3000/javascripts/frontpage.js => 200 | |
| Zombie: Running script from /javascripts/frontpage.js | |
| Error | |
| TypeError: Cannot call method 'toString' of null | |
| at /usr/local/lib/node/.npm/zombie/0.9.1/package/lib/zombie/resources.js:25:15 | |
| at Resource.toString (/usr/local/lib/node/.npm/zombie/0.9.1/package/lib/zombie/resources.js:58:172) | |
| at /usr/local/lib/node/.npm/zombie/0.9.1/package/lib/zombie/resources.js:136:25 | |
| at Resources.map (native) | |
| at Resources.toString (/usr/local/lib/node/.npm/zombie/0.9.1/package/lib/zombie/resources.js:135:19) | |
| at String.STRING_ADD_LEFT (native) | |
| at isRegExp (util.js:266:3) | |
| at format (util.js:163:11) | |
| at util.js:195:19 | |
| at Array.map (native) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var zombie = require("zombie"), | |
| assert = require("assert"); | |
| zombie.visit("http://localhost:3000/", { debug: true }, function (err, browser, status) { | |
| if (err) { | |
| console.log("Error"); | |
| console.log(err); | |
| } | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment