Class: Selenium::TextArea
- Inherits:
-
HtmlElement
- Object
- HtmlElement
- Selenium::TextArea
- Defined in:
- lib/selenium/text_area.rb
Instance Attribute Summary
Attributes inherited from HtmlElement
Instance Method Summary collapse
- #enter(value) ⇒ Object
-
#initialize(webpage, locator) ⇒ TextArea
constructor
A new instance of TextArea.
- #value ⇒ Object
Methods inherited from HtmlElement
#browser, #click, #click_wait, #double_click, #key_press, #present?, #text
Constructor Details
#initialize(webpage, locator) ⇒ TextArea
Returns a new instance of TextArea.
3 4 5 |
# File 'lib/selenium/text_area.rb', line 3 def initialize(webpage, locator) super(webpage, locator) end |
Instance Method Details
#enter(value) ⇒ Object
7 8 9 |
# File 'lib/selenium/text_area.rb', line 7 def enter(value) @webpage.enter(@locator, value) end |
#value ⇒ Object
11 12 13 |
# File 'lib/selenium/text_area.rb', line 11 def value @webpage.value(@locator) end |