Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lambtron committed Sep 30, 2014
1 parent 6925dcb commit 7bbb88e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ var Nightmare = require('nightmare');
new Nightmare()
.goto('https://google.com')
.type('input#gbqfq', 'github nightmare')
.click('button#gbqfba');
.click('button#gbqfba')
.run(function(err, nightmare) {
if (err) return fn(err);
fn();
});
```

Or, here's how you might automate a nicely abstracted login + task on Swiftly:
Expand Down Expand Up @@ -47,6 +51,9 @@ The available options are:
#### .goto(url)
Load the page at `url`.

#### .goBack()
Go back to the previous page.

#### .refresh()
Refresh the current page.

Expand Down

0 comments on commit 7bbb88e

Please sign in to comment.