# File lib/cucumber/rails/capybara/select_dates_and_times.rb, line 5
        def select_date(field, options = {})
          date        = Date.parse(options[:with])
          base_dom_id = get_base_dom_id_from_label_tag(field)

          find(:xpath, "//select[@id='#{base_dom_id}_1i']").select(date.year.to_s)
          find(:xpath, "//select[@id='#{base_dom_id}_2i']").select(I18n.l date, :format => '%B')
          find(:xpath, "//select[@id='#{base_dom_id}_3i']").select(date.day.to_s)
        end