Class: Watir::Container::Frame
- Includes:
- Watir::Container, PageContainer
- Defined in:
- lib/safariwatir.rb
Constant Summary
Constants included from Watir::Container
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(scripter, name) ⇒ Frame
constructor
A new instance of Frame.
Methods included from PageContainer
Methods included from Watir::Container
#button, #cell, #checkbox, #contains_text, #div, #form, #frame, #image, #label, #link, #p, #password, #radio, #row, #select_list, #set_fast_speed, #set_slow_speed, #span, #speed=, #table, #text_field
Constructor Details
#initialize(scripter, name) ⇒ Frame
Returns a new instance of Frame.
93 94 95 96 |
# File 'lib/safariwatir.rb', line 93 def initialize(scripter, name) @name = name @scripter = scripter.for_frame(self) end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
91 92 93 |
# File 'lib/safariwatir.rb', line 91 def name @name end |