From: Ritesh T. <rit...@gm...> - 2005-02-02 02:38:40
|
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>'); |