Unique Identification of Focus Element

"Peter Bloodsworth" <peter-o4xOYH88u4Yf4mhTGKTGE9Bc4/[email protected]> Wed, 23 Aug 2006 22:08:17 +0100
Newsgroups gmane.comp.mozilla.jrex
Message-ID <007601c6c6f8$41734420$0400a8c0@HPLaptop>
Hi all just a quick couple of questions. I am using: (HTMLElement) _browser.getJrex().getFocusedElement() to get the focused element. The major problem is that I need to uniquely identify the element but I can't find a persistant way of doing so, the hashcode seems to change each time the browser loads the page. Another issue is that if I store a group of HTMLElement objects in a list then they don't actually point anywhere when I execute _browser.click(HTMLElement) I presume this is due to the _browser objects position. Finally is it possible to run the Jrex engine without actually having the browser window gui? I would really appreciate any help / ideas. 

Thanks 

Peter

_______________________________________________
JRex mailing list
[email protected]
http://mozdev.org/mailman/listinfo/jrex