I am having trouble to select the radio button that has a unique span id but same radio button class, name, value and id.
<td align="left" style="vertical-align: top; ">
<span class ="radiobutton" id="mainId:gen_id_12e3:radiospan1e">
<input type="radio" name="radio1" value="on" id="radio1" tabindex="0" checked>
<label for="id-2024">Yes</label>
i can select the span by using this code but not able to select the radio button which is inside the span.
selenium.Click["css=span[id*=radiospan1e]"];
Any help would be appreciated.
What @BoltClock said.
selects the
spanwithradiospan1eid, then looks for aninputchild. This is where you should be learning from: http://www.w3.org/TR/CSS2/selector.html