From: Marc G. <mgu...@ya...> - 2005-02-02 08:07:43
|
Ritesh Trivedi wrote: > Hi, > > I am trying out HTMLUnit and trying to do a simple connect to sites > such as www.yahoo.com or www.ebay.com. But I get the following error > when getting the page. > > My suspicion is that its because the .js function library which is > included has the variable defined. > > Any help will be appreciated. > > Ritesh > > ScriptException: enclosed exception was "ReferenceError: "ebay" is not > defined. (Embedded script #1)" > Script source code ebay.oDocument._getControl('poweredby')._exec('wr > iteSource','<a href="http://pages.ebay.com/ebay_IBM.html" onclick="ebayShowPopup > Window(this.href, \'Sponsor\', 285, 350); return false;"><img src="http://pics.e > baystatic.com/aw/pics/navbar/poweredByLogo_112x22.gif" border="0"></a>'); > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > |