Re: Simulating clicks on the DOM node of the GMAIL page.
"Amit Saurav" <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
Yes, I am calling this on the iframe on the gmail page which contains the emails. Probably the display is set to none, which i am not sire of, as it is difficult to see in the DOM. Is there a problem in simulating this event on iframes in general? Is there another way out? Thanks for your help... On Wed, Feb 27, 2008 at 12:31 AM, Boris Zbarsky <[email protected]> wrote: > Amit Saurav wrote: > > Here xCor and yCor are the position where I want to click. But still > > it does not work and i get an exception saying: > > Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) > > [nsIDOMWindowUtils.sendMouseEvent] > > Are you calling this on a window that doesn't have a presentation (e.g. an > <iframe> which has display:none or some such)? > > -Boris > > _______________________________________________ > dev-tech-dom mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-tech-dom >