Created
September 3, 2012 13:20
-
-
Save robashton/3609294 to your computer and use it in GitHub Desktop.
zombie.js
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 Browser = require('zombie') | |
, client = new Browser() | |
client.visit('http://localhost', function() { | |
client.fill('title', 'This is an awesome blog entry') | |
client.click('submit') | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment