Class: Watir::Container::TableCell
- Inherits:
-
ContentElement
- Object
- HtmlElement
- ContentElement
- Watir::Container::TableCell
- Defined in:
- lib/safariwatir.rb
Constant Summary
Constants included from Watir::Container
Constants inherited from HtmlElement
Instance Attribute Summary collapse
-
#how ⇒ Object
readonly
Returns the value of attribute how.
-
#row ⇒ Object
readonly
Returns the value of attribute row.
-
#what ⇒ Object
readonly
Returns the value of attribute what.
Instance Method Summary collapse
-
#initialize(scripter, how, what, row = nil) ⇒ TableCell
constructor
A new instance of TableCell.
- #operate(&block) ⇒ Object
- #tag ⇒ Object
Methods inherited from ContentElement
Methods included from Watir::Container
#button, #cell, #checkbox, #contains_text, #div, #form, #frame, #image, #label, #link, #p, #password, #radio, #select_list, #set_fast_speed, #set_slow_speed, #span, #speed=, #table, #text_field
Methods included from Clickable
Methods inherited from HtmlElement
Constructor Details
#initialize(scripter, how, what, row = nil) ⇒ TableCell
Returns a new instance of TableCell.
362 363 364 365 366 367 368 369 |
# File 'lib/safariwatir.rb', line 362 def initialize(scripter, how, what, row = nil) @scripter = scripter.for_table(self) set_slow_speed # TODO: Need to inherit this somehow @how = how @what = what @row = row end |
Instance Attribute Details
#how ⇒ Object (readonly)
Returns the value of attribute how.
371 372 373 |
# File 'lib/safariwatir.rb', line 371 def how @how end |
#row ⇒ Object (readonly)
Returns the value of attribute row.
371 372 373 |
# File 'lib/safariwatir.rb', line 371 def row @row end |
#what ⇒ Object (readonly)
Returns the value of attribute what.
371 372 373 |
# File 'lib/safariwatir.rb', line 371 def what @what end |