Ivan De Marino
f8e59f92f8
Ported 'waitfor.js' to Phantom 1.2.
...
* There is a problem though: the script causes a "segfault" on phantom.exit() - I didn't investigated why yet
2011-06-01 16:29:44 +01:00
Ivan De Marino
78cab6b4b1
Converted "weather.js" for PhantomJS 1.2
2011-06-01 14:55:35 +01:00
Ivan De Marino
811c56b6f3
Ported 'countdown.js' to PhantomJS 1.2
2011-06-01 14:25:22 +01:00
Ivan De Marino
b91f5b9632
Converted "tweets.js" to PhantomJS 1.2.
...
First impression: PhantomJS 1.2 makes a lot of sense.
But there are issues if we try to pass a DOM node as a return value for calls to "evaluate"
2011-06-01 14:18:08 +01:00
Ariya Hidayat
a7a8a6749a
Merge pull request #49 from rgieseke/cs-examples
...
Port CoffeeScript examples to use WebPage object.
2011-05-29 12:33:03 -07:00
rgieseke
2a8fac45b4
Indent with 2 spaces.
2011-05-29 14:21:25 +02:00
rgieseke
5b8a40e763
Remove unused variable.
2011-05-29 14:01:55 +02: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
b1af26ecc0
Support different HTTP operations for loading a page.
...
http://code.google.com/p/phantomjs/issues/detail?id=88
2011-05-28 02:06:20 -07:00
Ariya Hidayat
7e099abaf2
User-agent is part of WebPage settings, not WebPage object itself.
2011-05-27 22:50:33 -07:00
rgieseke
08c6faff71
More CoffeeScript examples using WebPage.
2011-05-27 12:09:15 +02:00
rgieseke
4f68bf7067
Use WebPage in useragent.coffee example.
2011-05-26 11:08:33 +02:00
rgieseke
dcd91d73d1
Use WebPage in pizza.coffee example.
2011-05-26 11:07:37 +02:00
rgieseke
fc5b799db0
Use WebPage in direction.coffee example.
2011-05-26 11:06:41 +02:00
rgieseke
95c13d46fd
Use WebPage in loadspeed.coffee.
2011-05-26 11:05:03 +02:00
rgieseke
71c61a8f7f
Fix error message.
2011-05-26 11:04:00 +02:00
Ariya Hidayat
414a46e921
technews.js: Port to use WebPage object.
2011-05-25 23:37:56 -07:00
Ariya Hidayat
55bb382a1b
follow.js: Port to use WebPage object.
2011-05-25 23:28:41 -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
Ariya Hidayat
5f018b32b2
useragent.js: Port to WebPage object.
2011-05-25 14:37:25 -07:00
Ariya Hidayat
838b110e9e
direction.js: Port to use WebPage object.
2011-05-25 14:10:35 -07:00
Ariya Hidayat
a1f0691311
loadspeed.js: Port to use WebPage object.
2011-05-25 14:04:30 -07:00
Ariya Hidayat
a4b540ef9e
Merge branch 'master' of github.com:ariya/phantomjs
2011-05-25 10:58:26 -07:00
Ariya Hidayat
041e827447
Port color wheel example to use WebPage object.
2011-05-25 10:55:25 -07:00
Ismael Celis
f204a3386e
Example: Array.prototype.forEachWebPage() for easy loading and processing of multiple URLs in Phantom.js
2011-05-19 16:25:26 +01:00
Roejames12
2345087b21
Fixed issue 106
2011-05-16 23:25:47 -07:00
rgieseke
09519dab6c
Use sencha account in follow example.
2011-05-11 16:57:52 +02:00
rgieseke
c585107e38
Display tweet index in CoffeeScript example.
2011-05-11 16:52:57 +02:00
rgieseke
cd9e3d9647
Use sencha twitter account.
2011-05-11 16:47:55 +02:00
rgieseke
4e0126a803
Use window as recommended in CoffeeScript docs.
2011-05-11 11:42:18 +02:00
rgieseke
d3845e94ab
Use YAML-Style array creation in follow.coffee.
2011-04-25 18:28:26 +02:00
rgieseke
38a6638d2c
Fix weather.coffee. Implicit parentheses are until end of line.
2011-04-25 18:26:44 +02:00
rgieseke
dfd4c06586
Remove unnecessary semicolons in coffeescript examples.
2011-04-23 19:43:18 +02:00
rgieseke
0a91497075
Loop only through divs, not length and item.
2011-04-23 14:41:19 +02:00
rgieseke
0acb9195b0
Add Coffeescript version of waitfor.js.
2011-04-23 14:38:51 +02:00
rgieseke
e32b6ba529
Change meaning of message parameter to show what has happenend.
2011-04-23 13:13:38 +02:00
rgieseke
c8043520ee
Don't throw error on timeout, use phantom.exit instead.
2011-04-23 13:09:42 +02:00
rgieseke
a7713e31da
Use shorter default timeout.
2011-04-23 13:05:43 +02:00
rgieseke
d4df69b175
Use an existing Twitter account and update name changes in new Twitter.
2011-04-23 13:04:48 +02:00
rgieseke
ef899fee17
Use spaces throughout.
2011-04-23 13:00:00 +02:00
rgieseke
239ace5357
Add Coffeescript version of extract.js
2011-04-22 18:07:18 +02:00
rgieseke
34081845a4
Add Coffeescript version of weather.js.
2011-04-22 17:39:53 +02:00
rgieseke
71ef739988
Add Coffeescript version of version.js.
2011-04-22 17:39:52 +02:00
rgieseke
0475c72cea
Add Coffeescript version of useragent.js.
2011-04-22 17:39:52 +02:00
rgieseke
b2e50a26ce
Add Coffeescript version of technews.js.
2011-04-22 17:39:52 +02:00
rgieseke
5d8e00c695
Add Coffeescript version of seasonfood.js.
2011-04-22 17:39:52 +02:00
rgieseke
a486b7efa0
Add Coffeescript version of rasterize.js.
2011-04-22 17:39:51 +02:00
rgieseke
a7c8008498
Add Coffeescript version of pizza.js.
2011-04-22 17:39:51 +02:00
rgieseke
20f278257e
Add Coffeescript version of movies.js.
2011-04-22 17:39:51 +02:00