Unchecking and Asserting a Checkbox
Learn how to clear and assert a checkbox using Selenium.
We'll cover the following...
Uncheck a checkbox
We can uncheck an already checked checkbox by using the following script:
the_checkbox = driver.findElement(By.name("vehicle_bike")
...