title: How to let selenium make a random selection on a radion button python
body: <p>I'm currently working on a project. I want that it chooses a year between 1970 - 1999. The date &amp; month should be randomly chosen. Already tried it per XPath etc. didn't work out very well.</p>
  
  <p>The website is payoneer.com / Login Form date picker</p>
  
  <pre><code>birthselection = driver.find_elements_by_xpath("//*[@id=ui-datepicker-div]/div/div/select[1]/option[5]']").click()
  </code></pre>