I am trying to select a radio button and input element, it has an id
of group and value of In_Group
. There are 4 different radio buttons with the same id but different values hence I am trying to select the correct one i am looking for.
<input class="custom-radio" id="group" name="group" type="radio" value="In_Group">
I tried something like this:
driver.FindElement(By.XPath("//*[contains(@id='group' and @value='In_Group')]"))
But the element is not found could someone help me out