Class: Cucumber::Salad::Widgets::FieldGroup::TextField
- Defined in:
- lib/cucumber/salad/widgets/field_group.rb
Overview
A text field.
Instance Attribute Summary
Attributes inherited from Widget
Instance Method Summary collapse
-
#get ⇒ Object
The text field value.
-
#set(value) ⇒ Object
Sets the text field value.
-
#to_s ⇒ Object
The text field value, or the empty string if the field is empty.
Methods inherited from Field
Methods inherited from Widget
find_in, #has_action?, #initialize, #inspect, present_in?, #reload, root, selector
Methods included from Cucumber::Salad::WidgetMacros
#action, #widget, #widget_delegator
Methods included from Cucumber::Salad::WidgetContainer
Constructor Details
This class inherits a constructor from Cucumber::Salad::Widgets::Widget
Instance Method Details
#get ⇒ Object
Returns The text field value.
316 |
# File 'lib/cucumber/salad/widgets/field_group.rb', line 316 def_delegator :root, :value, :get |
#set(value) ⇒ Object
Sets the text field value.
322 |
# File 'lib/cucumber/salad/widgets/field_group.rb', line 322 def_delegator :root, :set |
#to_s ⇒ Object
Returns the text field value, or the empty string if the field is empty.
327 |
# File 'lib/cucumber/salad/widgets/field_group.rb', line 327 def_delegator :get, :to_s |