Capture a web scrolling page in a image

How can i capturie a web scrolling page in a image with ruby? i don’t
want to capture only what is visible, i want to capture and the page
after scrolling.

Tnx.

On Wed, Feb 20, 2008 at 08:39:55PM +0900 Bulhac M. mentioned:

How can i capturie a web scrolling page in a image with ruby? i don’t
want to capture only what is visible, i want to capture and the page
after scrolling.

You obviously need an html rendering engine in this case. ‘links -g’
probably
can do the trick.

I dobt there’re html rendering libraries in ruby.

Hi~
Is there any update on this topic?
When I’m using Watir to test a website. I think it would be good to have
the screenshot of the website. There’re tools in IE or Firefox to do it.
But I wonder if there’s something in Watir that can do this job
directly?

Have you done anything similar to this? Please help.
Many thanks!

This is not a direct answer. Just hints, I hope.

webkit2png is a command line screen capture tool on Mac OS X.
Many command line tools are listed in

Browsershots has a XML-RPC interface. Its implementation gives us
also many tricks how we can operate browsers. Python is used but.

MozRepl, which is included in MozLab, provides telnet interface to
Firefox.
https://addons.mozilla.org/ja/firefox/addon/2692
http://hyperstruct.net/projects/mozrepl

http://screenshot.hatena.ne.jp/ is written in Ruby.
That server communicates with dRuby programs which invoke
IE based capture tool crenahtml2jpg on Windows.

Hope this helps,

Gotoken