vendredi 30 août 2019

How to let selenium make a random selection on a radion button python

Im currently working on a project. I want that it chooses a year between 1970 - 1999. The date & month should be randomly choosen. Already tried it per xpath etc. didnt worked out very well.

The website is payoneer.com / Login Form datepicker

birthselection = driver.find_elements_by_xpath("//*[@id=ui-datepicker-div]/div/div/select[1]/option[5]']").click()




Aucun commentaire:

Enregistrer un commentaire