Python Selenium Unable To Click Field
I'm trying to request data that I can later scrap. I write the dates in the text field but when I send the request, it does not update according to the dates. I'm trying to click t
Solution 1:
I'd double check that you are correctly selecting the elements you want. This might not be the case as you mentioned not seeing the date-time picker.
I'd recommend using the Selenium IDE (download link on their website here). It's a plugin for Firefox which allows you to record actions against a page. That way you could compare against what you have.
Solution 2:
I tried your code and it works correctly for me. I am able to see the calender open and input the date. One point - you may want to include a .clear() between your .click() and .send_keys() as the input box does not automatically clear - this may be why you are not seeing your date update if there is validation looking for a correct date format.
Post a Comment for "Python Selenium Unable To Click Field"