Interesting, it doesn't seem to be a JavaScript event that gets fired, the result of logging the events tell me that clicking the icon results in something like: GET http://foo/getChildren.form?generatednumber=xyz
Is there a way to use this link to expand the tree? On a side note, I must say that the use of FireBug to figure out the events fired was helpful, I'll have to remember that for future use, thanks. On Aug 5, 4:01 pm, Željko Filipin <[email protected]> wrote: > On Fri, Aug 5, 2011 at 8:45 PM, andy thai <[email protected]> wrote: > > - .click method on my ins tag does not work? > > You probably need to fire some JavaScript event. > > Example: > > browser.element(how, what).fire_event("onclick") > > To see which events get fired when you click the element manually, see this: > > http://stackoverflow.com/questions/3787555/how-to-find-out-which-java... > > Željko > -- > watir.com - community manager > watir.com/book - author > watirpodcast.com - host -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
