I want to load external content (from another domain) and simulate navigation, doing things like programatically clicks and fill forms, probably using JQuery.
Explaining a little better: I need to navigate "automatically" through 3 pages, the first one is login area, where I'm supposed to fill login/pass fields, and submit. In the last one, I must fill some input fields, submit again, and get all html data from a report.
I was trying using a IFRAME and Jquery's contents(), then I realized that I cannot do that due obvious XSS security issues. (http://jsfiddle.net/TbMyx/4/).
Before trying this way (client-side, js, Iframe, etc), I also tried using Java. Sending POST/GET requisitions into a Servlet, and I didn't got any sucess on that either.
Any thoughts on that? At least, it's possible task? I'm a little negative on that, I don't think this is really possible, based in my current knowledge, I just need some confirmation