Answer ( 1 )

  1. jahnvi
    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("radio1"));;
    WebElement r2= driver.findElement(By.xpath(copy your xpath "));;

Leave an answer

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>