RE: [httpunit-javascript] javascript enabled browser

Graeme J Sweeney <[email protected]>
Newsgroups gmane.comp.web.httpunit.devel
Message-ID <[email protected]>
On Fri, 7 Apr 2006, Alex wrote:

> Below is code I get.  What can I do to enable cookies, and scripting.? Any
> help is appreciated
>
>
> <noscript>

It would seem that httpunit is just displaying the noscript content 
irrespective of having setScriptingEnabled( true ).

>    document.location.replace('blahblah');\

That's where you want to go.

Since the action is dependent on the page content and not the server 
response, you should try htmlunit.

-- 
Graeme -
Outlook Express user? - http://home.in.tum.de/~jain/software/oe-quotefix/


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.