Automated browsing with javascript?

Posted by Paul Wicks on Stack Overflow See other posts from Stack Overflow or by Paul Wicks
Published on 2010-02-28T20:19:14Z Indexed on 2010/03/28 16:53 UTC
Read the original article Hit count: 193

Filed under:
|
|

I'm trying to do some browser automation, but I'm having some problems. Basically, what I'd like to do is load a set pages, set some forms options, click a button and view the results for each page that I open. Originally, I tried to do this by placing the pages I wanted to automate in iframes and then using javascript to drive the interactions I want in each, but that results in a Permissions Error, since the sites I want to automate are not on my server. Is there any way around this? The other possibility I've thought of is to use QT's webkit class and the evaluateJavaScript method to accomplish what I'd like to do, but this seems a bit more heavy weight for something that is, conceptually, pretty simple.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about browsing