Class: Watir::Container::Frame

Inherits:
Object
  • Object
show all
Includes:
Watir::Container, PageContainer
Defined in:
lib/safariwatir.rb

Constant Summary

Constants included from Watir::Container

DEFAULT_TYPING_LAG

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from PageContainer

#html, #text, #title

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

#nameObject (readonly)

Returns the value of attribute name.



91
92
93
# File 'lib/safariwatir.rb', line 91

def name
  @name
end