title: How to select any element from the web element with "display: none" attribute using Selenium in Python
body: <p>I need to select any element from the web element with <code>display: none</code> attribute that looks like this:</p>
  
  <pre><code>&lt;div class="some_class"&gt;
    &lt;select id="some_id" class="some_select_class" style="display: none;"&gt;
      &lt;option value="1" data-isleaf="false" data-catid="3" data-special_message="" data-adtypeid="0"&gt;1&lt;/option&gt;
      &lt;option value="2" data-isleaf="true" data-catid="4" data-special_message="" data-adtypeid="1"&gt;2&lt;/option&gt;    
    &lt;/select&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I can do it manually from a web browser, but I need to do it via Selenium in Python. Unfortunately, when I have the following code:</p>
  
  <pre><code>try:
    element = selenium.webdriver.support.ui.WebDriverWait(driver, 60).until(EC.visibility_of_element_located((By.ID, 'some_id')))
    selenium.webdriver.support.ui.Select(element).select_by_value('1')
  except Exception as ex:
    print(ex)
  </code></pre>
  
  <p><code>WebDriverWait</code> throws an exception with the following info:</p>
  
  <blockquote>
    <p>Message: ''</p>
  </blockquote>
  
  <p>The type of the exception is <code>selenium.common.exceptions.TimeoutException</code></p>
  
  <p>How can I achieve the interaction of this element? How can I select any element in this case?</p>
  
  <p>Thanks in advance.</p>