Class: Watir::Container::InputElement

Inherits:
HtmlElement show all
Includes:
Clickable
Defined in:
lib/safariwatir.rb

Direct Known Subclasses

Button, Checkbox, Option, SelectList, TextField

Constant Summary

Constants inherited from HtmlElement

HtmlElement::OPERATIONS

Instance Attribute Summary

Attributes inherited from HtmlElement

#how, #what

Instance Method Summary collapse

Methods included from Clickable

#click

Methods inherited from HtmlElement

#exists?, #name, #operate

Instance Method Details

#by_valueObject

Hook for derivitives



171
# File 'lib/safariwatir.rb', line 171

def by_value; end

#enabled?Boolean

Returns:

  • (Boolean)


164
165
166
# File 'lib/safariwatir.rb', line 164

def enabled?
  !@scripter.element_disabled?(self)
end

#speakObject



160
161
162
# File 'lib/safariwatir.rb', line 160

def speak
  @scripter.speak_value_of(self)
end

#tagObject



168
# File 'lib/safariwatir.rb', line 168

def tag; "INPUT"; end