I've run into  a few issues too.
I'm writing scripts that work in both IE and FireFox.  Using
"Watir::Browser.default ="   and   "Watir::Browser.new"
Pleny of success so far..

HOWEVER,  the following works in IE but throws an
"UnknownObjectException" in FireFox.
# get the target userID
      userID = @@browser.cell(:xpath, "//[contains(text(),'#
{@@uName}')]/../td[1]").innerText

Am using xpath calls in plenty of other places that work in both
browsers - but for some reason this one fails in FireFox.





--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to