How many ways we can click on the Radio button using Selenium…

How many ways we can click on the Radio button using Selenium…

1 Comment

  1. jahnvi

    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 a Reply

Your email address will not be published. Required fields are marked *

© 2024 AskTester

Theme by Anders NorenUp ↑