Commit Graph

11 Commits (master)

Author SHA1 Message Date
fastclemmy 8f14ef027e Fix examples/pizza.js.
Guess the DOM has changed a little. No more class .address but an (incorrectly used) <address> tag instead.

http://code.google.com/p/phantomjs/issues/detail?id=921
2012-12-16 14:19:57 -08:00
Ivan De Marino e0e5535e0e Updated examples to use "require('webpage').create()" instead of "new WebPage()". 2011-09-12 21:17:54 +01:00
Ariya Hidayat 051f3ea839 examples/pizza: Switch to use Yelp.
http://code.google.com/p/phantomjs/issues/detail?id=200
2011-08-23 23:34:50 -07:00
Ariya Hidayat 9931279ccc Remove unnecessary console redirection. 2011-06-19 15:28:58 -07:00
Ariya Hidayat 5be29972cf WebPage callback for its console message.
See http://code.google.com/p/phantomjs/issues/detail?id=12.

By default, WebPage is "silent" and does not report its console message.
This can be overridden easily, e.g:

  var page = new WebPage();
  page.onConsoleMessage = function (msg) {
    console.log(msg);
  };
  page.open(.....);
2011-05-28 21:16:18 -07:00
Ariya Hidayat f84bef4b38 rasterize.js: Port to WebPage object. 2011-05-25 14:37:58 -07:00
Ariya Hidayat 5da05055cc pizza.js: Port to use WebPage object. 2011-05-25 14:37:25 -07:00
rgieseke 0a91497075 Loop only through divs, not length and item. 2011-04-23 14:41:19 +02:00
Ariya Hidayat 04cc4193ca Change phantom.storage to phantom.state. 2010-12-31 22:09:02 -08:00
Ariya Hidayat 24d433ea13 Remove phantom.log, just use the de-facto console.log for logging. 2010-12-31 20:10:34 -08:00
Ariya Hidayat 9d7e4b4156 pizza.js: Fantastico! 2010-12-26 23:32:51 -08:00