Answer ( 1 )

  1. jahnvi
    0
    August 26, 2019 at 4:34 pm

    Please briefly explain why you feel this answer should be reported .

    Report Cancel
    hi ,
    you can use this two way to click on the Radio button.

    WebElement r1= driver.findElement(By.id("radio1"));
    r1.click();
    WebElement r2= driver.findElement(By.xpath(copy your xpath "));
    r2.click();

Leave an answer