Selenium Java - Handling Form Elements
Given the code snippet:
What will be printed if the radio button was not selected before?
WebElement rb = driver.findElement(By.name("gender"));
rb.click();
boolean selected = rb.isSelected();
System.out.println(selected);What will be printed if the radio button was not selected before?
