title: element not visible despite availability in document in python selenium
body: <p><strong>Page Link :</strong> <a href="https://contacts.google.com/u/1/?pageId=none" rel="nofollow noreferrer">https://contacts.google.com/u/1/?pageId=none</a></p>
  
  <p><strong>Desired:</strong> I want to select all contacts by clicking the highlighted SVG caret icon in attached image. </p>
  
  <p><strong>Problem facing :</strong> Getting error <strong>element not visible</strong> on <code>svgicon.click()</code>. Though element is clearly available in visible DOM as per image attached.</p>
  
  <p><strong>Observation :</strong> I have noticed that if we manually click on caret icon then DropDown html code is being inserted via JavaScript &amp; on any other body click it is removing the DropDown html code.</p>
  
  <p>I know following code statement used to achieve the desired is correct &amp; working but not populating DropDown . Any help is much appreciated.</p>
  
  <pre><code>//find &amp; click on SVG icon
  
  svgicon = driver.find_element_by_css_selector('div.PFdmz .uzHa0d .RANAid[role="button"]')
  svgicon.click()
  
  //click on all link post dropdown appears
  wait5.until(EC.presence_of_element_located((By.XPATH, '//div[@class = "jO7h3c" and text() = "All"]'))).click()
  </code></pre>
  
  <p><strong>DOM Image</strong></p>
  
  <p><a href="https://i.stack.imgur.com/5NLcr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5NLcr.png" alt="DOM Image"></a></p>
  
  <p><strong>EDIT 1 - Sample Javascript effort to select all checkboxes</strong></p>
  
  <pre><code>t=0
  for _ in range(len(driver.find_elements_by_css_selector('.XXcuqd div[role="checkbox"]'))):
      cimgs = driver.find_elements_by_css_selector('.XXcuqd div[role="checkbox"]')
      ActionChains(driver).move_to_element(cimgs[t]).perform()
      driver.execute_script("arguments[0].click();", cimgs[t])
      t = t+1
  </code></pre>
  
  <p>if somehow we can use this method to reduce time taken to mark all checkboxes checked (at one go in place of using Actionchains) then this will solve problem too. At any point of time i will have 10000+ contacts for this activity.</p>