1. 12 Mar, 2013 3 commits
  2. 25 Feb, 2013 1 commit
  3. 21 Feb, 2013 1 commit
  4. 08 Feb, 2013 1 commit
  5. 07 Feb, 2013 1 commit
  6. 30 Jan, 2013 1 commit
  7. 17 Jan, 2013 1 commit
  8. 13 Jan, 2013 1 commit
  9. 29 Dec, 2012 1 commit
  10. 24 Dec, 2012 1 commit
  11. 23 Dec, 2012 1 commit
  12. 19 Dec, 2012 1 commit
  13. 18 Dec, 2012 3 commits
  14. 14 Dec, 2012 1 commit
  15. 10 Dec, 2012 2 commits
  16. 08 Dec, 2012 2 commits
  17. 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
  18. 03 Dec, 2012 1 commit
  19. 02 Dec, 2012 3 commits
  20. 28 Nov, 2012 2 commits
  21. 23 Nov, 2012 1 commit
  22. 22 Nov, 2012 1 commit
    • `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
  23. 21 Nov, 2012 3 commits
  24. 18 Nov, 2012 1 commit
  25. 15 Nov, 2012 1 commit
  26. 14 Nov, 2012 1 commit
  27. 10 Nov, 2012 1 commit
  28. 05 Nov, 2012 1 commit
  29. 31 Oct, 2012 1 commit