I thought we had TH defined as well, but looking at the code, it's not there. Feel free to add a Jira ticket for this. If you do have Watir extensions then when/if we add whatever tags you have, then you can remove it from your own Watir extension and that's it.
Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Mon, Jun 1, 2009 at 9:53 AM, Chuck van der Linden <sqa...@gmail.com>wrote: > > browser.th didn't work when I tried it. not in docs I printed a few > months ago.. was there a new release of watir recently that added > this? did I miss something? > > I know I can extend. even found some stuff in a thread circa dec2008 > for this specific functionality. but I figured TH is not exactly 'out > in deep left field' table hreaders being fairly mainstream, and if I > need it, I'm not likely to be the only one, so figured asking made > sense.. > > I'll have to look into the extending mechanism.. am correct that it's > done in such a way that I don't have to re-do it whenever I update > watir (unless watir ends up incorporating the thing I was extending, > and I'm then conflicting?) > > On Jun 1, 2:45 am, Željko Filipin <zeljko.fili...@wa-research.ch> > wrote: > > 2009/5/30 Chuck van der Linden <sqa...@gmail.com> > > > > > I have some things happening where I really need to be able to access > > > things that are defined as a header row (using <TH> tags) in a table. > > > but Watir doesn't currently support this. > > > > Really? I thought you could do: > > > > browser.th(how, what) > > > > You can extend Watir if that does not work: > > > > http://zeljkofilipin.com/2007/07/04/extend-watir/ > > > > > Or am I going to finally be forced > > > into learning how to do xpath stuff? > > > > Xpath is not complicated for simple things: > > > > ie.link(:xpath,"//a...@href='test.htm']/").text > > > > http://wiki.openqa.org/display/WTR/XPath > > > > Ž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 email@example.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 -~----------~----~----~----~------~----~------~--~---