Sha256: 79a6894c0722ad837711f8fb7d5c58f2b8746ec4e8e39d421e80a410bb70f1c4

Contents?: true

Size: 465 Bytes

Versions: 5

Compression:

Stored size: 465 Bytes

Contents

class GwtWidgets::DateBox < PageObject::Elements::Table

  def input
    require 'pry'; binding.pry;
    text_field_element(:class => 'gwt-DateBox', :type => "text")
  end

  def choose_day (day)
    div_element(:class => 'datePickerDay', :text => day.to_s).click
  end

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

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

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gwt_widgets-0.0.7 lib/gwt_widgets/date_box.rb
gwt_widgets-0.0.6 lib/gwt_widgets/date_box.rb
gwt_widgets-0.0.5 lib/gwt_widgets/date_box.rb
gwt_widgets-0.0.4 lib/gwt_widgets/date_box.rb
gwt_widgets-0.0.3 lib/gwt_widgets/date_box.rb