title: click on selected element in drop down menu with selenium
body: <p>I'm trying to select the second element from a drop down menu using selenium, as you can see in the screenshot, the selection seems almost completed, but then I didn't manage to confirm the change. I tried using click() or Keys.ENTER but nothing.</p>
  
  <p>here is the HTML:</p>
  
  <pre><code>&lt;div class="mainSelectParent"&gt;
      &lt;div class="styled-select" style=""&gt;
         &lt;label&gt;&lt;/label&gt;
         &lt;select id="mainselect" style="display: none;"&gt;
          &lt;option value="agency"&gt;une agence&lt;/option&gt;
          &lt;option value="atm"&gt;un distributeur automatique de billets&lt;/option&gt;
          &lt;option value="atmCashDeposit"&gt;un automate de dépôt de billets&lt;/option&gt;
         &lt;/select&gt;&lt;div class="ms-parent" style="width: 100%;"&gt;&lt;button type="button" class="ms-choice"&gt;&lt;span class=""&gt; un distributeur automatique de billets&lt;/span&gt;&lt;div class="open"&gt;&lt;/div&gt;&lt;/button&gt;&lt;div class="ms-drop bottom" style="display: block;"&gt;&lt;ul style="max-height: 250px;"&gt;&lt;li class=""&gt;&lt;label&gt;&lt;input type="radio" name="selectItem" checked="checked" value="agency"&gt; une agence&lt;/label&gt;&lt;/li&gt;&lt;li class="selected"&gt;&lt;label&gt;&lt;input type="radio" name="selectItem" value="atm"&gt; un distributeur automatique de billets&lt;/label&gt;&lt;/li&gt;&lt;li&gt;&lt;label&gt;&lt;input type="radio" name="selectItem" value="atmCashDeposit"&gt; un automate de dépôt de billets&lt;/label&gt;&lt;/li&gt;&lt;li class="ms-no-results" style="display: none;"&gt;No matches found&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  </code></pre>
  
  <p>and here is my code:</p>
  
  <pre><code>wait = WebDriverWait(driver, 15)
  wait.until(EC.visibility_of_element_located((By.CLASS_NAME,    "mainSelectParent")))
  element = driver.find_element_by_class_name('mainSelectParent')
  element.send_keys(Keys.DOWN)
  element.click()
  </code></pre>
  
  <p>I also tried using Select and ActionChains but no better luck.</p>