title: Selecting options from drop down list in python using Selenium Webdriver
body: <p>I have tried the <code>SELECT</code> class utility with all it's functions including <code>selectByVisibleText()</code> and others but no success. Following is the div hierarchy of my elements and then is the <code>&lt;select&gt;</code> box which I want to read.</p>
  
  <pre><code>&lt;div class="abc"&gt;
    &lt;div class="def"&gt;
      &lt;div class="xyz"&gt;
         &lt;div&gt;&lt;/div&gt;
         &lt;select class="qwe" id="asd"&gt;
           &lt;option class="zxc" label="test" value="01"&gt;01&lt;/option&gt;
  and options are so on till value 12.
  </code></pre>
  
  <p>How do I get to select the options using selenium webdriver in python ??</p>
  
  <p>EDIT 1: The code I tried is as follows:</p>
  
  <pre><code>select = Select(browser.find_element_by_id("asd"))
  select.select_by_visible_text('04')
  </code></pre>
  
  <p>And,</p>
  
  <pre><code> eMonth = browser.find_element_by_id("asd")
   eMonth.send_keys("10")
  </code></pre>