1. 06 Dec, 2012 1 commit
    • 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
  2. 05 Dec, 2012 3 commits
  3. 03 Dec, 2012 6 commits
  4. 02 Dec, 2012 4 commits
  5. 01 Dec, 2012 2 commits
  6. 30 Nov, 2012 1 commit
  7. 28 Nov, 2012 2 commits
  8. 27 Nov, 2012 2 commits
  9. 26 Nov, 2012 1 commit
  10. 24 Nov, 2012 3 commits
  11. 23 Nov, 2012 2 commits
  12. 22 Nov, 2012 5 commits
  13. 21 Nov, 2012 5 commits
  14. 18 Nov, 2012 3 commits