Foiled by JavaScript I suppose? Priority Vote
Dee Ayy <[email protected]> Fri, 25 Mar 2011 13:31:49 -0500
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Message-ID | <[email protected]> |
I'm trying httpunit because I am trying to login via script to a website that I assume is running JavaScript as part of its authentication method and I needed something to run the returned JavaScript which CURL does not run. I got an error: org.mozilla.javascript.EcmaError: TypeError: Cannot find function addEventListener. (httpunit#19) Then noticed "addEventListener" is not listed here http://httpunit.sourceforge.net/doc/javascript-support.html Then I added HttpUnitOptions per http://httpunit.sourceforge.net/doc/faq.html#unsupported and saw many more errors with the first displaying as: failed: org.mozilla.javascript.EcmaError: TypeError: Cannot find function addEventListener. (httpunit#19) Are the "httpunit#" 's known unsupported TODO features? Are they listed anywhere? -- probably in the httpunit source. On my first target page, I have many 19's, so I'd vote for that as a priority, but I also have: 19 32 9 838 624 226 1 I suppose I am at a dead end regarding my script login task. Can anyone recommend a different free offering that may be able to login via "automation"? But I was also considering Google V8 JavaScript Engine http://code.google.com/p/v8/ "V8 is Google's open source JavaScript engine." The httpunit developers may want to consider using V8 for their JavaScript support. I may try V8 myself with either CURL or httpunit. I saw that getDOM method which I believe is the data V8 wants. Regards, Dee ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar