Created
December 16, 2013 06:14
-
-
Save dmonllao/7982994 to your computer and use it in GitHub Desktop.
Moodle-Behat-ZombieJS (ZombieJS script)
This file contains 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"); | |
zombie.visit("http://moodle.org", {debug: true}, function(err, browser) { | |
if (err) { | |
console.log(err.message); | |
} else { | |
console.log(browser.html()); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment