I Got A Calender Picker. How To Select The Available Day With Selenium And Python?
the available days has a class .calendarCellOpen: table.calendario .calendarCellOpen input {  }  Here it is the calendar css:     #calwrapper     {     min-height:230px;       marg
Solution 1:
This is what i gain to do, but im not quite sure that this is going to work:
            while True:
            for dates in elementos:
                if dates.is_enabled():
                    dates.click()
                    driver.find_element_by_id("ctl00_ContentPlaceHolder1_acc_Calendario1_repFasce_ctl01_btnConferma").click()
            #if elementos > 0:
                #driver.find_element_by_class_name("calendarCellOpen").click()
                #else:
            driver.find_element_by_xpath("//input[@value='<']").click()
            driver.find_element_by_xpath("//input[@value='>']").click()
Post a Comment for "I Got A Calender Picker. How To Select The Available Day With Selenium And Python?"