Try something like this: b.tr(:class => "pathUserRow").attribute_value "data-path-user-status-id"
Although you'll likely need to find some better way to identify the table row. On Monday, January 7, 2013 2:19:30 PM UTC-5, janjos wrote: > > I'm working with this html line: > <tr class="pathUserRow" data-path-user-status-id="219917"> > > And my goal is to save the data-path-user-status-id value into a variable > and use it elsewhere in my test. > Are there any guidelines for custom attributes within a table, using > firefox? > > > Thanks! > -- 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]
