I'm trying to set up some automated test cases with WebDriver, using Selenium IDE with FireBug to get a good idea of what I'm doing. I've got it mostly figured out except for one major thing. This element
<div class="select2-drop select2-display-none select2-with-searchbox select2-drop-active select2-drop-above" style="left: 1200.5px; width: 438px; top: auto; bottom: 152px; display: block;" id="select2-drop">
<li class="select2-results-dept-0 select2-result select2-result-selectable">
use xpath that finds element with its text.