javascript,google-chrome,events,onpaste
Wow. The culprit seems to be the -webkit-user-select/user-select CSS! I discovered this when I noticed that pasting would be allowed only after initially clicking and dragging the mouse over a cell (which explains the random clicking - only after I clicked until my mouse moved mid-click did it work). I...
python,selenium,datepicker,onclick,onpaste
Got the Solution.. Was quite simple actually... driver.find_element_by_id("ctl00_ContentPlaceHolder1_txtDate").click() a = driver.execute_script("return setCalendarControlDate( 2014,12,1);") driver.find_element_by_id("ctl00_ContentPlaceHolder1_txtTodate").click() a = driver.execute_script("return setCalendarControlDate( 2015,1,11);") driver.find_element_by_id("ctl00_ContentPlaceHolder1_btnSubmit").click() elem = driver.find_element_by_id("ctl00_ContentPlaceHolder1_lnkDownload") Thanks...