I use Watir WebDriver.
I would be grateful if someone could show me how to enter a date into the jQuery Datepicker here:
http://jqueryui.com/datepicker/
The following code returns the error:
unable to locate element, using {:id=>"datepicker", :tag_name=>"input or textarea", :type=>"(any text type)"}
require 'watir-webdriver'
browser = Watir::Browser.new :firefox
browser.goto "http://jqueryui.com/datepicker/"
browser.text_field(:id, "datepicker").set("")
browser.link(:text, "Prev").click
browser.link(:text, "2").click