[plt-scheme] Re: Delirium - a web automation tool

From: Matt Jadud (jadudm at gmail.com)
Date: Fri Dec 7 19:04:59 EST 2007

On Dec 7, 2007 12:42 PM, pp <pedro.e.pinto at gmail.com> wrote:
> This looks great. Look forward to playing with it.
> Just out of curiosity how do you script the browser?
> -pp

Hi PP,

I hate to say it, but


might be a good place to start.

>From the documentation:

Delirium uses continuations to maintain a REPL-style testing loop:

    * Run the test code until a browser API call is made.

    * Send the command to the browser.

    * Wait for a result from the browser.

    * Return the result to the test code and loop.

Commands are sent to the browser as fragments of Javascript. Results are sent
back in JSON format and are parsed into Scheme data structures.

Hopefully that's a start on your question, anyway. It's reasonably
late at this point in GMT.


Posted on the users mailing list.