title: Selenium - Python - Select - drop-down menu links
body: <p>I'm trying to cycle through a drop-down menu where each element is a link to a different page. I would like to cycle through all the elements of the drop down menu by clicking on them one at a time, going to the page it directs me to, downloading something from that page, and then clicking on the drop down menu (which exists on every page) and going to the next option on the menu.</p>
  
  <p>This is the code of the drop down menu:</p>
  
  <pre><code>&lt;div class="account-selection"&gt;
   &lt;input type="hidden" name="fromResourceNode" value="/content/customer/my_account/jcr:content/mainpar/myaccount"&gt;
   &lt;input type="hidden" name="extraTabInfo" id="extraTabInfo" value=""&gt;
   &lt;input type="hidden" name="extraAccordionInfo" id="extraAccordionInfo" value=""&gt;
   &lt;label for="selectAcct" class="hidden"&gt;Select your account&lt;/label&gt;
   &lt;select id="selectAcct" name="currAcctNumber"&gt;
     &lt;option value="1001140692"&gt;1001140692, 4 BEECH &lt;/option&gt;
     &lt;option value="1001140648"&gt;1001140648, BEECH 3&lt;/option&gt;
     &lt;option value="1001257836"&gt;1001257836, 7C BEECH &lt;/option&gt;
     &lt;option value="1001265171"&gt;1001265171, 4E BEECH &lt;/option&gt;
     &lt;option value="1001238965"&gt;1001238965, 4D BEECH &lt;/option&gt;
  </code></pre>
  
  <p>When i try using:</p>
  
  <pre><code>select = Select(browser.find_element_by_id('selectAcct'))
  select.select_by_value('1001140648')
  Keys.ENTER
  </code></pre>
  
  <p>For whatever reason the selenium browser is not being directed to the next page that actually clicking on the link would take me to. Any idea what I am doing wrong? I have all the imports set up correctly and everything else to the program is running smoothy.</p>
  
  <p>Also, is there any simple way to go through the entire drop down menu without having to fill in the actual option values manually? </p>
  
  <p>Thanks!</p>