title: Selecting options in a bootstrap dropdown menu in selenium Webdriver
body: <p>I am trying to click on a specific row in a dropdown-menu but my xpath or CSS are not able to identify the object... What would your xpath or CSS be? your help would be appreciated. Thank you!</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="WBnavbar" class="navbar-collapse collapse"&gt;
  &lt;ul class="nav navbar-nav"&gt;
  &lt;li class="dropdown"&gt;
  &lt;a class="dropdown-toggle" aria-expanded="false" aria-haspopup="true" role="button" data-toggle="dropdown" href="#"&gt;
  Renew 
  &lt;span class="caret"/&gt;
  &lt;/a&gt;
  &lt;ul class="dropdown-menu scrollable-menu" role="menu"&gt;
  &lt;li&gt;
  &lt;a onclick="" href="link1"&gt;Renew option1&lt;/a&gt;
  &lt;/li&gt;
  &lt;li&gt;
  &lt;a onclick="" href="link2"&gt;Renew option2&lt;/a&gt;
  &lt;/li&gt;
  &lt;li&gt;
  &lt;a onclick="" href="link3"&gt;Renew option3&lt;/a&gt;
  &lt;/li&gt;
  &lt;li class="dropdown"&gt;
  &lt;a class="dropdown-toggle" aria-expanded="false" aria-haspopup="true" role="button" data-toggle="dropdown" href="#"&gt;
  Update Address 
  &lt;span class="caret"/&gt;
  &lt;/a&gt;
  &lt;ul class="dropdown-menu scrollable-menu" role="menu"&gt;
  &lt;li&gt;
  &lt;a onclick="" href="link4"&gt;Update Address Option1&lt;/a&gt;
  &lt;/li&gt;
  &lt;li&gt;
  &lt;a onclick="" href="link5"&gt;Update Address Option2&lt;/a&gt;
  &lt;/li&gt;
  &lt;li&gt;
  &lt;a onclick="" href="link6"&gt;Update Address Option3&lt;/a&gt;
  &lt;/li&gt;</code></pre>
  </div>
  </div>
  </p>