Thanks,
James
> --
> You received this message because you are subscribed to the Google Groups "nodejs" group.
> To post to this group, send email to nod...@googlegroups.com.
> To unsubscribe from this group, send email to nodejs+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/nodejs?hl=en.
>
>
var zombie = require("zombie");
var assert = require("assert");
// Load the page from localhost
zombie.visit("http://localhost:3000/", function (err, browser, status) {
// Fill email, password and submit form
browser.
fill("email", "zom...@underworld.dead").
fill("password", "eat-the-living").
pressButton("Sign Me Up!", function(err, browser, status) {
// Form submitted, new page loaded.
assert.equal(browser.text("title"), "Welcome To Brains Depot");
})
});One. Zombie was conceived and developed for testing Web applications. It's great that you can use it for other purposes, kick ass that it's good for more than one thing. But all the design decisions are biased towards testing. Reason is ...Two. The people who contribute their time and energy to improve Zombie are passionate about testing. Naturally, we invest our time and attention in making Zombie the best test tool possible. As is the case with open source, that which is interesting to contributors gets fixed. So ...Three. Until you or anyone else starts investing in fixing issues, adding features, answering questions, writing documentation, etc that relate to Web automation, the scope will remain limited to what existing contributors are interested in contributing to. That is why ...Four. Zombie does not advertise itself as a tool for Web automation. I'd hate for it to promise on something it can't deliver. In the meanwhile ...