I am trying to pick a date (01/01/2011) from a calendar on this page. https://cotthosting.com/NYRocklandExternal/LandRecords/protected/SrchQuickName.aspx
The calendar is on the part of the form that says Date: FROM
. When I click it, a calendar pops up for you to pick dates. However, the field also allows you type in a date. Given the complexity of calendars, I have chosen to use send_keys()
but it is not working.
I have identified the empty field date field by its ID but for some reason it does not fill the form. when I try:
driver.find_element_by_id('ctl00_cphMain_SrchDates1_txtFiledFrom').send_keys("01012011")
Any ideas on how I can maneuver it differently? I'm using Python 2.7 with Selenium and ChromeDriver