title: How to select a list item from a drop down by its value using Selenium Webdriver C#
body: <p>I want to select a drop down value. The problem is the drop down list is derived, it is written as list items. Code snippet as follows:</p>
  
  <pre><code>&lt;div class="rcbScroll" style="width: 100%; height: 184px; overflow: auto;"&gt;
  &lt;ul class="rcbList" style="width: 100%"&gt;
      &lt;li class="rcbItem"&gt;Option 1&lt;/li&gt;
      &lt;li class="rcbItem"&gt;Option 2&lt;/li&gt;
      &lt;li class="rcbItem"&gt;Option 3&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>How do I select 'Option 2' as the selected value in the drop down?</p>