[plt-scheme] Has anyone written an automated web browser?
On 6 Oct 2009, at 17:59, N N wrote:
> I suspect the answer is no, given what I've seen (as I understand it
> Delirium, for instance, only runs against the Scheme web server).
> We would like something that allows us to browse the web controlled
> by coded logic instead of a human. If it already exists, great, if
> not, I guess we'll have to write it.
>
> ~NoT
Just a clarification regarding Delirium:
Your Delirium test suites have to run on the PLT web server. However,
there's nothing except XSS restrictions to prevent you testing any old
web application using Delirium.
I believe Selenium gets around XSS in one of two ways:
1. deploy Selenium from the same server as the target web app;
2. use a URl rewriting proxy that makes the browser thing the test
server and the app server are one and the same.
Delirium obviously uses technique #1 by default. Noel and I tried
writing a proxy for Delirium but it was more complicated than we
anticipated so we gave up in the end. It might be possible to use
Selenium's proxy with Delirium, but I haven't looked.
In summary, though, Delirium and Selenium are basically the same
technology. Delirium just lets you write your tests using Schemeunit.
-- Dave