- 24 Nov, 2012 2 commits
-
-
- 23 Nov, 2012 1 commit
-
-
- 22 Nov, 2012 4 commits
-
-
-
-
-
`Casper.evaluate()` method signature is now compatible with PhantomJS' one, so you can now write: ```js casper.evaluate(function(a, b) { return a === "foo" && b === "bar"; }, "foo", "bar"); // true ``` The old way to pass arguments has been kept backward compatible in order not to break your existing scripts though: ```js casper.evaluate(function(a, b) { return a === "foo" && b === "bar"; }, {a: "foo", b: "bar"}); // true ```
Nicolas Perriault authored
-
- 21 Nov, 2012 2 commits
-
-
-
A new `remoteScripts` casper option has been added in order to load remote client scripts into the page DOM environment: ```javascript var casper = require('casper').create({ remoteScripts: ['http://code.jquery.com/jquery-1.8.3.min.js', 'http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.2/underscore-min.js'] }); ```
Nicolas Perriault authored
-
- 18 Nov, 2012 2 commits
-
-
- 14 Nov, 2012 2 commits
-
-
- 10 Nov, 2012 1 commit
-
-
- 05 Nov, 2012 3 commits
-
-
- 04 Nov, 2012 2 commits
-
-
In order to terminate a test suite execution as soon as any failure is encountered.
Nicolas Perriault authored -
-
- 02 Nov, 2012 2 commits
-
-
- 31 Oct, 2012 2 commits
-
-
- 27 Oct, 2012 4 commits
-
-
- 26 Oct, 2012 2 commits
-
-
-
To print stuff out to the casper console from the remote page DOM environment: ```javascript casper.start('http://foo.ner/').thenEvaluate(function() { __utils__.echo('plop'); // this will be printed to your shell at runtime }); ```
Nicolas Perriault authored
-
- 25 Oct, 2012 3 commits
-
-
- 24 Oct, 2012 3 commits
-
-
- 23 Oct, 2012 1 commit
-
-
Tester.assertField() can now test for field values from other types than inputs.
Nicolas Perriault authored
-
- 22 Oct, 2012 1 commit
-
-
- 21 Oct, 2012 1 commit
-
-
- 19 Oct, 2012 2 commits
-
-