phantomjs/examples
Ivan De Marino f386f7d484 Adding the ability to switch between frames.
1. Passing JavaScript eval and other related actions to the CurrentFrame, not the MainFrame.
2. Added different methods to navigate between frames
3. With a call to "window.frames[0].focus()", the "currentFrame" changes: commands after that are sent to the new frame under focus.
4. The navigation between frames allows to walk over the "tree of frames" contained in the page.

This commit also adds examples (both in JS and CoffeeScript) and Unit Test.

http://code.google.com/p/phantomjs/issues/detail?id=573
2012-06-15 00:07:53 -07:00
..
arguments.coffee Update examples to use system.args. 2012-03-15 01:11:30 -07:00
arguments.js Update examples to use system.args. 2012-03-15 01:11:30 -07:00
colorwheel.coffee Updated examples to use "require('webpage').create()" instead of "new WebPage()". 2011-09-12 21:17:54 +01:00
colorwheel.js Updated examples to use "require('webpage').create()" instead of "new WebPage()". 2011-09-12 21:17:54 +01:00
countdown.coffee Port countdown.coffee to PhantomJS 1.2 2011-06-01 23:20:47 -07:00
countdown.js Ported 'countdown.js' to PhantomJS 1.2 2011-06-01 14:25:22 +01:00
detectsniff.coffee Fixed missing exit code when errornous. 2012-05-17 23:35:02 -07:00
detectsniff.js Fixed missing exit code when errornous. 2012-05-17 23:35:02 -07:00
direction.coffee Fixed missing exit code when errornous. 2012-05-17 23:35:02 -07:00
direction.js Update examples to use system.args. 2012-03-15 01:11:30 -07:00
echoToFile.coffee Fixed missing exit code when errornous. 2012-05-17 23:35:02 -07:00
echoToFile.js Fixed missing exit code when errornous. 2012-05-17 23:35:02 -07:00
features.js examples/feature.js: Show supported/unsupported features. 2011-06-26 14:05:48 -07:00
fibo.coffee Indent with 2 spaces. 2011-05-29 14:21:25 +02:00
fibo.js Remove phantom.log, just use the de-facto console.log for logging. 2010-12-31 20:10:34 -08:00
follow.coffee Change follow.* example to Twitter accounts of PhantomJS contributors. 2012-03-04 21:49:47 -08:00
follow.js Change follow.* example to Twitter accounts of PhantomJS contributors. 2012-03-04 21:49:47 -08:00
hello.coffee Start to implement support for CoffeeScript. 2011-03-02 00:59:07 -08:00
hello.js Remove phantom.log, just use the de-facto console.log for logging. 2010-12-31 20:10:34 -08:00
imagebin.coffee Fixed missing exit code when errornous. 2012-05-17 23:35:02 -07:00
imagebin.js Fix a wrong module require in imagebin example. 2012-05-17 23:41:33 -07:00
injectme.coffee Merge pull request #155 from Roejames12/master 2011-09-14 21:45:08 -07:00
injectme.js Updated examples to use "require('webpage').create()" instead of "new WebPage()". 2011-09-12 21:17:54 +01:00
ipgeocode.coffee Indent with 2 spaces. 2011-05-29 14:21:25 +02:00
ipgeocode.js Remove phantom.log, just use the de-facto console.log for logging. 2010-12-31 20:10:34 -08:00
loadspeed.coffee Fixed missing exit code when errornous. 2012-05-17 23:35:02 -07:00
loadspeed.js Fixed missing exit code when errornous. 2012-05-17 23:35:02 -07:00
modernizr.js examples/feature.js: Show supported/unsupported features. 2011-06-26 14:05:48 -07:00
movies.coffee Indent with 2 spaces. 2011-05-29 14:21:25 +02:00
movies.js Remove phantom.log, just use the de-facto console.log for logging. 2010-12-31 20:10:34 -08:00
netlog.coffee Fixed missing exit code when errornous. 2012-05-17 23:35:02 -07:00
netlog.js Fixed missing exit code when errornous. 2012-05-17 23:35:02 -07:00
netsniff.coffee Fixed missing exit code when errornous. 2012-05-17 23:35:02 -07:00
netsniff.js Fixed missing exit code when errornous. 2012-05-17 23:35:02 -07:00
outputEncoding.coffee Add examples for phantom.outputEncoding 2011-08-25 03:15:26 +09:00
outputEncoding.js Add examples for phantom.outputEncoding 2011-08-25 03:15:26 +09:00
pagecallback.coffee Adding "window.phantomCallback()" within the page context. 2012-06-14 23:29:13 -07:00
pagecallback.js Adding "window.phantomCallback()" within the page context. 2012-06-14 23:29:13 -07:00
phantomwebintro.coffee Updated examples to use "require('webpage').create()" instead of "new WebPage()". 2011-09-12 21:17:54 +01:00
phantomwebintro.js Updated examples to use "require('webpage').create()" instead of "new WebPage()". 2011-09-12 21:17:54 +01:00
pizza.coffee Updated examples to use "require('webpage').create()" instead of "new WebPage()". 2011-09-12 21:17:54 +01:00
pizza.js Updated examples to use "require('webpage').create()" instead of "new WebPage()". 2011-09-12 21:17:54 +01:00
post.coffee Updated examples to use "require('webpage').create()" instead of "new WebPage()". 2011-09-12 21:17:54 +01:00
post.js Updated examples to use "require('webpage').create()" instead of "new WebPage()". 2011-09-12 21:17:54 +01:00
postserver.js Fixed missing exit code when errornous. 2012-05-17 23:35:02 -07:00
printenv.js printenv.js: New example to show system.env. 2012-03-15 01:33:27 -07:00
printheaderfooter.js Fixed missing exit code when errornous. 2012-05-17 23:35:02 -07:00
printmargins.js Fixed missing exit code when errornous. 2012-05-17 23:35:02 -07:00
rasterize.coffee Fixed missing exit code when errornous. 2012-05-17 23:35:02 -07:00
rasterize.js Make QWebPage::zoomFactor accessible to PhantomJS scripts. 2012-06-08 11:05:54 +02:00
render_multi_url.coffee Update examples to use system.args. 2012-03-15 01:11:30 -07:00
render_multi_url.js Update examples to use system.args. 2012-03-15 01:11:30 -07:00
run-jasmine.coffee Fixed missing exit code when errornous. 2012-05-17 23:35:02 -07:00
run-jasmine.js Fixed missing exit code when errornous. 2012-05-17 23:35:02 -07:00
run-qunit.coffee Fixed missing exit code when errornous. 2012-05-17 23:35:02 -07:00
run-qunit.js Update examples to use system.args. 2012-03-15 01:11:30 -07:00
scandir.coffee Fixed missing exit code when errornous. 2012-05-17 23:35:02 -07:00
scandir.js Fixed missing exit code when errornous. 2012-05-17 23:35:02 -07:00
seasonfood.coffee Indent with 2 spaces. 2011-05-29 14:21:25 +02:00
seasonfood.js Remove phantom.log, just use the de-facto console.log for logging. 2010-12-31 20:10:34 -08:00
server.js Fixed missing exit code when errornous. 2012-05-17 23:35:02 -07:00
serverkeepalive.js Fixed missing exit code when errornous. 2012-05-17 23:35:02 -07:00
simpleserver.coffee Fixed missing exit code when errornous. 2012-05-17 23:35:02 -07:00
simpleserver.js Fixed missing exit code when errornous. 2012-05-17 23:35:02 -07:00
sleepsort.coffee Fixed missing exit code when errornous. 2012-05-17 23:35:02 -07:00
sleepsort.js Fixed missing exit code when errornous. 2012-05-17 23:35:02 -07:00
technews.coffee Updated examples to use "require('webpage').create()" instead of "new WebPage()". 2011-09-12 21:17:54 +01:00
technews.js Updated examples to use "require('webpage').create()" instead of "new WebPage()". 2011-09-12 21:17:54 +01:00
tweets.coffee Update examples to use system.args. 2012-03-15 01:11:30 -07:00
tweets.js Update examples to use system.args. 2012-03-15 01:11:30 -07:00
unrandomize.coffee Updated examples to use "require('webpage').create()" instead of "new WebPage()". 2011-09-12 21:17:54 +01:00
unrandomize.js Updated examples to use "require('webpage').create()" instead of "new WebPage()". 2011-09-12 21:17:54 +01:00
useragent.coffee Updated examples to use "require('webpage').create()" instead of "new WebPage()". 2011-09-12 21:17:54 +01:00
useragent.js Updated examples to use "require('webpage').create()" instead of "new WebPage()". 2011-09-12 21:17:54 +01:00
version.coffee Indent with 2 spaces. 2011-05-29 14:21:25 +02:00
version.js Provide an API to get PhantomJS version. 2011-01-01 08:29:03 -08:00
waitfor.coffee Fixed missing exit code when errornous. 2012-05-17 23:35:02 -07:00
waitfor.js Updated examples to use "require('webpage').create()" instead of "new WebPage()". 2011-09-12 21:17:54 +01:00
walk_through_frames.coffee Adding the ability to switch between frames. 2012-06-15 00:07:53 -07:00
walk_through_frames.js Adding the ability to switch between frames. 2012-06-15 00:07:53 -07:00
weather.coffee Update examples to use system.args. 2012-03-15 01:11:30 -07:00
weather.js Update examples to use system.args. 2012-03-15 01:11:30 -07:00