From: Vinay M. <vin...@gm...> - 2004-10-18 13:03:33
|
Hi, > EcmaError: lineNumber=[1] column=[6] lineSource=[return frmSubmit()] > name=[SyntaxError] sourceName=[body.onLoad] message=[invalid return] > errorObject=[SyntaxError: invalid return] > com.gargoylesoftware.htmlunit.ScriptException: invalid return The problem is in the onload handler of the new page that has just been loaded. What does frmSubmit() return? The page I am trying to access through a link happens to be a .asp . Interestingly, frmSubmit() doesn't figure anywhere in the page that loads up freshly or the page where the link to this new page lies. Actually, when I click on the link, I get a new browser window(minus the tabs). And I noticed some kind of an activity additionally on the previous window where the link lies.(a frame blanking out and then getting loaded with the same previous contents) Also, has the "clicking on an image" feature included in the latest stable release ? Best Regards, Vinay |