I have html like this: <h1 id="header">Header</h1>
This works: browser.h1(:xpath, "//h...@id='header']").flash browser.h1(:id, "header").flash But this returns: browser.element_by_xpath("//h...@id='header']").flash returns: WIN32OLERuntimeError: unknown property or method `flash' HRESULT error code:0x80020006 Unknown name. from (irb):12:in `method_missing' from (irb):12 Anybody knows what I did wrong? Željko -- http://watirpodcast.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---