Firstly, you should be using watir-webdriver and not watir-classic if at
all possible. https://rubygems.org/gems/watir-webdriver
Knowing the specific html will help, but the pattern will likely be
something along these lines:
browser.table(id: 'foo').td(class: 'bar', text: 'foobar')
or you can get the collection and do a search on it yourself
browser.table(id: 'foo').tds(class: 'bar').find { |td| td.text == 'foobar' }
On Wednesday, November 19, 2014 10:43:01 AM UTC-6, Bo Boateng wrote:
>
> Hey Guys,
>
> I'm using Watir 1.9.1 and in trying to find the right way to loop through
> a rows on a specific table on a page to match and select a variable. The
> table class name would be CHOOSEONE.
>
>
>
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]
---
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.