I am trying to select a specific radio button with the XPath command:
driver.FindElement(By.XPath("//td[contains(@input id, 'SearchTypePatientNameDob')]")).Click();
The list that contains the button I want is as follows:
<tr>
<td>
<input id="RadioButtonSearchTypePatientNameDob" type="radio" value="SearchTypePatientNameDob" name="SearchType">
<span class="Instructions">Patient Name / Patient Date of Birth</span>
</td>
</tr>
My command can not find the button to select/click it. Any suggestions would be of great benefit.