Hi All, I tried to make fireEvent for the text field defined by xpath. My code is:
$browser.text_field(:xpath, "//inp...@class = 'className']").fireEvent("ondblclick") Error is: undefined method `childnodes' for #<Watir::Div:0x4079dc0 located=false how=:class what="name"> In the same time I can successfully do $browser.text_field(:class, 'className').fire_event("ondblclick") Both method work well in watir 1.6.2. My Environment: ruby 1.8.6 (2009-08-04 patchlevel 383) [i386-mingw32], watir-1.6.5 -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com To unsubscribe from this group, send email to watir-general+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.