- 09 Dec, 2012 1 commit
-
-
which was preventing for script and modules to be properly loaded and executed.
Nicolas Perriault authored
-
- 08 Dec, 2012 7 commits
-
-
- 07 Dec, 2012 1 commit
-
-
- 06 Dec, 2012 2 commits
-
-
-
PhantomJS 1.7 ships with support for child pages (say popups and frames). CasperJS can now wait for a child being opened and loaded to react accordingly using these two new methods: ```js casper.start('http://foo.bar/').then(function() { this.test.assertTitle('Main page title'); this.clickLabel('Open me a popup'); }); casper.waitForPage(/popup\.html$/, function() { this.withChildPage(this.childPages[0], function() { this.test.assertTitle('Popup title'); }); }); casper.then(function() { this.test.assertTitle('Main page title'); }); ```
Nicolas Perriault authored
-
- 05 Dec, 2012 3 commits
-
- 03 Dec, 2012 6 commits
-
-
- 02 Dec, 2012 4 commits
-
-
This ensures that findOne() and findAll() observe the scope for XPath expressions, not just when passed CSS selectors.
Dave Lee authored -
-
-
In order to check that every planned test has actually been executed, a new optional `planned` parameter has been added to `Tester.done()`: ```js casper.test.assert(true); casper.test.assert(true); casper.test.assert(true); casper.test.done(4); ``` Will trigger a failure: ``` fail: 4 tests planned, 3 tests executed. ```
Nicolas Perriault authored
-
- 01 Dec, 2012 2 commits
-
-
- 30 Nov, 2012 1 commit
-
-
- 28 Nov, 2012 2 commits
-
-
- 27 Nov, 2012 2 commits
-
-
- 26 Nov, 2012 1 commit
-
-
- 24 Nov, 2012 3 commits
-
-
- 23 Nov, 2012 2 commits
-
-
- 22 Nov, 2012 3 commits
-
-