我想从日期选择器日历中选择一个日期(日/月/年)
所以我使用了以下代码,它不会显示错误,但在浏览器上不起作用(我没有选择我要查找的日期)。
dateDebut=driver.find_element(By.XPATH ,'XPATH on Browser') #here I copied the XPATH on browser
dateDebut.send_keys('01/01/2021')#I have no error, but the date on the browser is not "01/01/2021"
任何能够为我指明正确方向的想法都会很棒。谢谢。
dateDebut.get_property('value')
dateDebut.clear()
dateDebut.send_keys("01/01/2021")