[plt-scheme] Web browsing package?

From: Dave Gurnell (d.j.gurnell at gmail.com)
Date: Thu Jul 23 07:31:59 EDT 2009

On 23 Jul 2009, at 09:43, Elena Garrulo wrote:

> 2009/7/23 Dave Gurnell <d.j.gurnell at gmail.com>
> 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.
> Thank you for your answer :-)
> I checked up Delirium's page on Planet. I don't understand if that's  
> what I'm looking for... Is Delirium built on top of an existing  
> browser, as Selenium is?
> To restate my goal: I'm looking for a library which would allow me  
> to browse a site -possibly entering some text (passwords, etc.) -  
> and then read loaded pages, possibly saving them images included.
> Let me know if you're interested and I'll knock up a demo.
> That would be very kind of you, thanks. I'm not in an hurry now...  
> I'll bump again when the need will arise.

Delirium is basically a web application. You access the app from a  
browser and download a web page that contains:
   - a bunch of scripts that allow the web server to send commands to  
the browser;
   - an IFRAME, into which you can load (and control) another web page.

To be honest, it doesn't sound like this is quite what you're looking  
for, but it might do the job if you can get around cross-site- 
scripting restrictions. Selenium has a proxy to do this... we haven't  
written anything like that yet (and if we had, the proxy code would  
probably be more useful to you than Delirium itself).

It is possible (though unreasonably difficult) to configure Firefox to  
trust a web app enough to lift these restrictions and allow XSS.

-- Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090723/73f6a63a/attachment.html>

Posted on the users mailing list.