[wtr-general] Re: element_by_xpath return value

2009-02-15 Thread Angrez Singh
AFAIK, we can do that in Watir as well. Angrez is the author of both Watir's xpath support as well as FireWatir, so that is probably why xpath works better with FireWatir than WatirIE. :), only difference in Firewatir Watir xpath support is that in Firewatir, firefox supports element

[wtr-general] Re: element_by_xpath return value

2009-02-13 Thread rob
I am also curious about this. Thanks. On Jan 12, 8:42 pm, Bret Pettichord b...@pettichord.com wrote: I'm sure there's a way for Watir to do this just like FireWatir. It just hasn't been done yet, as far as i am aware. Angrez is the author of both Watir's xpath support as well as FireWatir,

[wtr-general] Re: element_by_xpath return value

2009-01-12 Thread Bret Pettichord
Richard Lawrence wrote: Using FireWatir's element_by_xpath on my Mac, I get the expected type for the element. For example, on the Google home page: irb(main):008:0 b.element_by_xpath(//*...@name='btnG']).class submit = FireWatir::Button But with Watir (on Windows, of course), I always

[wtr-general] Re: element_by_xpath return value

2009-01-12 Thread Bret Pettichord
I'm sure there's a way for Watir to do this just like FireWatir. It just hasn't been done yet, as far as i am aware. Angrez is the author of both Watir's xpath support as well as FireWatir, so that is probably why xpath works better with FireWatir than WatirIE. Angrez, do you have anything to