How can I get Selenium to select from an option value from a dropdown ?
The HTML is below:
<select name="cboProxyMember" id="idProxyMember" onchange="selectMember(); return false">
<option value="29">
Text - Fullers Inns
<option value="8840">
Text - Turks Head
I have selected the element with no problem, using:
var selectproxy = Driver.Instance.FindElement(By.Id("idProxyMember"));
selectproxy.Click();
But how do I select the option ?
I have tried a find element by name and tagname but neither work.