public void CheckCheckBoxTest() { NavigateToUrl(); WebDriver.CheckCheckBox(checkbox, true); Assert.IsTrue(WebDriver.Wait().ForClickableElement(checkbox).Selected, "Checkbox was not enabled"); WebDriver.CheckCheckBox(checkbox, false); Assert.IsFalse(WebDriver.Wait().ForClickableElement(checkbox).Selected, "Checkbox was enabled"); }