[plt-scheme] Re: Delirium - a web automation tool
I did look at that and I apologize for being dense as well as lazy,
but I was wondering how exactly do you send the JS to the browser?
-pp
On Dec 7, 2007, at 4:04 PM, Matt Jadud wrote:
> 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
>
> http://planet.plt-scheme.org/package-source/untyped/delirium.plt/1/0/doc.txt
>
> might be a good place to start.
>
> From the documentation:
>
> [quote]
> 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.
> [/quote]
>
> Hopefully that's a start on your question, anyway. It's reasonably
> late at this point in GMT.
>
> Cheers,
> Matt
Pedro Pinto
CTO
Quarksoft, LLC
6580 Via del Oro
San Jose, CA 95119
(408) 334-4719
pedropinto at quarksoftllc.com
http://www.quarksoftllc.com