Class: CapybaraPageObject::Textarea

Inherits:
Element show all
Includes:
TextBasedInput
Defined in:
lib/capybara-page-object/elements/textarea.rb

Instance Attribute Summary

Attributes inherited from Node

#source

Instance Method Summary collapse

Methods included from TextBasedInput

#clear!, #key, #value=

Methods included from HTML5Data

#data

Methods included from Collections

#key, #value

Methods inherited from Node

#classes, element, field, from_string, #initialize

Methods included from Delegators

#all, #find, #text

Constructor Details

This class inherits a constructor from CapybaraPageObject::Node

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/capybara-page-object/elements/textarea.rb', line 4

def blank?
  '' == text
end