I would like to select the first radio button on a web page via selenium (java) – I only have the value for the radio button and I know its the first button in the list of radio buttons. What would be the best approach for selecting this radio button – any helpful suggestions would be welcome.
I tried the following but it does not work (radio button has value of 1):
selenium.check("value=1");
I was able to use the following which worked: