Need support on issue selecting radio button, tried with javascript but not working.
WebElement Select4 = driver.findElement(By.name("IsGoldMember"));
Select4.click();
Need support on issue selecting radio button, tried with javascript but not working.
WebElement Select4 = driver.findElement(By.name("IsGoldMember"));
Select4.click();
Try
driver.findElement(By.xpath("//input[@id='IsGoldMemberTrue']"));
. It maybe the case that the nameIsGoldMember
is not unique on the web page.