title: selenium no way to use a visible select element python
body: <p>I am working on a project that I first sign up instagram by given information and then scrape some data for the sign up form I have some problems with second form which is birthdate the Select class of selenium didn't work. Maybe it is because of visibility. when I tried to access the elements it says that there is no such elements but they are both visible graphically and in inspect page of chrome and I prefer to not use the pyautogui because it is kinda unflexible and hard to use.
  here is my code</p>
  <blockquote>
  <pre><code>#information
  driverSignUp = webdriver.Chrome()
  while True:
      while True:
          try:
              driverSignUp.get('https://www.instagram.com/accounts/emailsignup/')
              break
          except:
              pass
      try:
          driverSignUp.find_element(By.CSS_SELECTOR, 'body.p-error.dialog-404')
          driverSignUp.delete_all_cookies()
      except:
          break
  driverSignUp.implicitly_wait(1)
  driverSignUp.find_element(By.NAME, 'emailOrPhone').send_keys(email)
  driverSignUp.find_element(By.NAME, 'fullName').send_keys(fullName)
  driverSignUp.find_element(By.NAME, 'username').send_keys(username)
  driverSignUp.find_element(By.NAME, 'password').send_keys(password)
  element = WebDriverWait(driverSignUp, 3).until(
      EC.all_of(EC.presence_of_element_located((By.CSS_SELECTOR, 'button.sqdOP.L3NKy.y3zKF')))
  )
  driverSignUp.find_element(By.CSS_SELECTOR, 'button.sqdOP.L3NKy.y3zKF').click()
  #birthdate
  actions = ActionChains(driverSignUp)
  Month = driverSignUp.find_element(By.CSS_SELECTOR, 'select[title=&quot;Month:&quot;]')
  actions.move_to_element(Month).perform()
  selectMonth = Select(Month)
  selectMonth.select_by_visible_text('August')
  Day = driverSignUp.find_element(By.CSS_SELECTOR, 'select[title=&quot;Day:&quot;]')
  actions.move_to_element(Day).perform()
  selectDay = Select(Day)
  selectDay.select_by_visible_text('1')
  Year = driverSignUp.find_element(By.CSS_SELECTOR, 'select[title=&quot;Year:&quot;]')
  actions.move_to_element(Year).perform()
  selectYear = Select(Year)
  selectYear.select_by_visible_text('2000')
  </code></pre>
  </blockquote>
  <p>and the libraries I used:</p>
  <blockquote>
  <pre><code>from selenium import webdriver
  from selenium.webdriver.common.by import By
  from selenium.webdriver.support.ui import WebDriverWait
  from selenium.webdriver.support import expected_conditions as EC
  from selenium.webdriver.common.action_chains import ActionChains
  from selenium.webdriver.support.ui import Select
  </code></pre>
  </blockquote>
  <p>thanks for your answers</p>