Ejemplo n.º 1
0
        public void IsEnabledIWebElementTest()
        {
            var elementActions = new ElementActions(Driver);

            Driver.Url = "http://the-internet.herokuapp.com/";
            Assert.IsTrue(elementActions.IsEnabled(Driver.FindElement(By.XPath("//a[text()='A/B Testing']"))), "The A/B link wasn't enabled.");
        }