Zeljko,
I'm not sure if this is what you are looking for, but here is the source for
`click()` method in Watir:
# This method clicks the active element.
# raises: UnknownObjectException if the object is not found
# ObjectDisabledException if the object is currently disabled
def click
assert_exists
assert_enabled
highLight(:set)
@o.click()
@ieController.wait()
highLight(:clear)
end
I believe the [EMAIL PROTECTED]()` just uses win32ole to fire a `click` event
on the object calling the method. So, `ie.div(:name => 'foo', :index => 2)`,
once recognized/identified/stored in memory (as [EMAIL PROTECTED]) then
responds to a `click` event.
Hope this helps,
Nathan Christie
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6479&messageID=18400#18400
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general