I have issues to sendkeys into date input control using following code. The existing date input content cannot be cleared
However, it is workable with this code but I would like to automate this step so that I don't have to manually change date position in calendar every time I run the code.
VBA Code:
[/
auto.FindElementById("startDate").Click
auto.FindElementByXPath("//*[@id='calendar']/tbody/tr[1]/td[7]").Click
]
However, it is workable with this code but I would like to automate this step so that I don't have to manually change date position in calendar every time I run the code.
VBA Code:
[/
auto.FindElementById("startDate").Clear
auto.FindElementById("startDate").Sendkeys("2021-09-04")
]
Last edited: