Class: Watir::TableRow

Inherits:
HTMLElement show all
Defined in:
lib/watir-webdriver/elements/generated.rb,
lib/watir-webdriver/elements/generated.rb,
lib/watir-webdriver/elements/table_row.rb

Constant Summary

Constants inherited from BaseElement

BaseElement::IGNORED_ATTRIBUTES

Instance Method Summary collapse

Methods inherited from BaseElement

attribute_list, #attribute_value, attributes, #click, #double_click, #driver, #element, #exists?, #fire_event, #flash, #focus, #html, #initialize, #inspect, #parent, #right_click, #run_checkers, #send_keys, #style, #tag_name, #text, typed_attributes, #value, #visible?

Methods included from Container

add

Methods included from XpathSupport

#element_by_xpath, #elements_by_xpath

Constructor Details

This class inherits a constructor from Watir::BaseElement

Instance Method Details

#[](idx) ⇒ Object

Get the n’th <td> of this element

Returns:

  • Watir::TableDataCell



10
11
12
# File 'lib/watir-webdriver/elements/table_row.rb', line 10

def [](idx)
  td(:index, idx)
end