title: How can I click on a button inside an iframe using Selenium and Python
body: <p>I'm trying to click on a button "Administration" inside an iframe but I'm getting this error:</p>
  
  <pre><code>selenium.common.exceptions.TimeoutException: Message:
  </code></pre>
  
  <p>Python code I am using:</p>
  
  <pre><code>main = driver.find_element_by_xpath("//div[@class='main absolute']")
  main.click()
  driver.switch_to.frame("tab_Welcome")
  button = WebDriverWait(driver, 10).until(EC.element_to_be_clickable((By.CSS_SELECTOR, "div.wah-global-ask-banner-item div.wah-global-ask-banner-item-title.wah-global-ask-banner-item-title-paa")))
  button.click()
  </code></pre>
  
  <p>HTML:</p>
  
  <p><a href="https://i.stack.imgur.com/k40C1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/k40C1.png" alt="enter image description here"></a></p>