Пример #1
0
        public void should_check_element()
        {
            var checkbox = new Checkbox(_driver, By.Name("carCheckbox"));

            checkbox.Check();

            Assert.AreEqual("Car", checkbox.Text);
            Assert.IsTrue(checkbox.Checked);
        }