Skip to content

Commit 4a64047

Browse files
authored
Merge pull request #202 from tobiasoberrauch/master
Fix typo in README
2 parents 67a053f + 03b34c7 commit 4a64047

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ You can add BackstopJS from the root directory of any project.
112112
$ npm install --save-dev backstopjs
113113
```
114114

115-
###Installing a develpment version
115+
###Installing a development version
116116

117117
```sh
118118
$ npm install garris/backstopjs#master
@@ -352,7 +352,7 @@ Inside `filename.js`, structure it like this:
352352
module.exports = function(casper, scenario, vp) {
353353
// scenario is the current scenario object being run from your backstop config
354354
// vp is the current viewport object being run from your backstop config
355-
355+
356356
// Example: setting cookies
357357
casper.echo("Setting cookies");
358358
casper.then(function(){
@@ -361,17 +361,17 @@ module.exports = function(casper, scenario, vp) {
361361
// `casper.thenOpen()` demonstrates a redirect to the original page with your new cookie value.
362362
// this step is not required if used with _onBeforeScript_
363363
casper.thenOpen(scenario.url);
364-
364+
365365
// Example: Adding script delays to allow for things like CSS transitions to complete.
366366
casper.echo( 'Clicking button' );
367367
casper.click( '.toggle' );
368368
casper.wait( 250 );
369-
369+
370370
// Example: changing behaivior based on config values
371371
if (vp.name === 'phone') {
372372
casper.echo( 'doing stuff for just phone viewport here' );
373373
}
374-
374+
375375
// ...do other cool stuff here, see Casperjs.org for a full API and many ideas.
376376
}
377377
```

0 commit comments

Comments
 (0)