title: Click an element after a particular time
body: <p>I have a website having youtube iframe. I want to click the replay button after the video gets over. I switched to youtube iframe and found the play button. But how can I click it after a particular time period(like after the video gets over) using selenium(python). Here the element to be clicked is always available but i need to click it only after a particular time.</p>
  
  <pre><code>driver.switch_to.frame(driver.find_element_by_xpath("//iframe[@id='YTPlayer']"))
  driver.implicitly_wait(10000)
  driver.find_element_by_css_selector(".ytp-play-button.ytp-button").click()
  </code></pre>
  
  <p>Tried Explicit wait as well but the conditions dont match.</p>