[plt-scheme] Web browsing package?
On 22 Jul 2009, at 09:27, troels knak-nielsen wrote:
> On Mon, Jul 20, 2009 at 7:43 PM, Elena Garrulo<egarrulo at gmail.com>
> wrote:
>> Hi,
>>
>> is there a package for automated web browsing, kind of Perl's
>> WWW::Mechanize
>> (
>> http://search.cpan.org/~petdance/WWW-Mechanize-1.58/lib/WWW/Mechanize.pm#SYNOPSIS
>> ) ?
>>
>
> Not a direct answer, since I don't know of any such projects for plt,
> but you could consider remote-controlling firefox instead.
> You can start firefox up in Xvfb (headless) and then use an extension
> such as mozrepl[1] to connect to it.
Since Troels mentioned this...
Delirium (on PLaneT) will be a browser remote for you if that's the
direction you want to go.
Delirium is oriented towards web UI testing (it's a reimplementation
of Selenium using continuations) but you don't necessarily need to use
it for that purpose - you only need to rewrite serve/delirium to take
a procedure instead of a Schemeunit test-suite to use it for general
browser control.
Let me know if you're interested and I'll knock up a demo.
-- Dave