Selenium - Select Item From List By The ul li Value Text
<p>I've got the following HTML</p>

<pre><code>&lt;div id="colLeft_OrderGroups" class="GroupList GroupList_Left"&gt;
            &lt;div class="SelectList" style="height:516px;"&gt;
                &lt;div class="DialogSubtitle"&gt;Available groups&lt;/div&gt;
                &lt;ul class="ui-selectable" id="grdAvailableGroups" style="width:100%; margin-right:2px"&gt;
                &lt;li value="10929"&gt;AppraisersGroupTest&lt;/li&gt;
                &lt;/ul&gt;
            &lt;/div&gt;
        &lt;/div&gt;
</code></pre>

<p>How do I select the option based off the "AppraisersGroupTest" text?</p>

<p>There will be multiple values in the list soon, so I need to be able to specify the text.</p>

<p>I have tried the answer in this <a href="https://stackoverflow.com/questions/20900854/how-to-select-the-anchor-tag-which-is-inside-the-li-in-selenium-webdriver">post</a>, but I'm getting syntax errors I cannot resolve.</p>