Class: GwtWidgets::DatePicker

Inherits:
PageObject::Elements::Table
  • Object
show all
Defined in:
lib/gwt_widgets/date_picker.rb

Instance Method Summary collapse

Instance Method Details

#choose_day(day) ⇒ Object



3
4
5
# File 'lib/gwt_widgets/date_picker.rb', line 3

def choose_day (day)
  days_this_month[day.to_i - 1].click
end

#chosen_dayObject



7
8
9
# File 'lib/gwt_widgets/date_picker.rb', line 7

def chosen_day
  div_element(:class => 'datePickerDayIsValue').text
end

#highlighted_dayObject



11
12
13
# File 'lib/gwt_widgets/date_picker.rb', line 11

def highlighted_day
  div_element(:class => 'datePickerDayIsToday').text
end