Class: GwtWidgets::DateBox
- Inherits:
-
PageObject::Elements::Table
- Object
- PageObject::Elements::Table
- GwtWidgets::DateBox
- Defined in:
- lib/gwt_widgets/date_box.rb
Instance Method Summary collapse
Instance Method Details
#choose_day(day) ⇒ Object
8 9 10 |
# File 'lib/gwt_widgets/date_box.rb', line 8 def choose_day (day) div_element(:class => 'datePickerDay', :text => day.to_s).click end |
#chosen_day ⇒ Object
12 13 14 |
# File 'lib/gwt_widgets/date_box.rb', line 12 def chosen_day div_element(:class => 'datePickerDay datePickerDayIsValue').text end |
#highlighted_day ⇒ Object
16 17 18 |
# File 'lib/gwt_widgets/date_box.rb', line 16 def highlighted_day div_element(:class => 'datePickerDay datePickerDayIsToday').text end |
#input ⇒ Object
3 4 5 6 |
# File 'lib/gwt_widgets/date_box.rb', line 3 def input require 'pry'; binding.pry; text_field_element(:class => 'gwt-DateBox', :type => "text") end |