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

            Driver.Url = "http://the-internet.herokuapp.com/";
            Assert.AreEqual("Welcome to the-internet", elementActions.GetText(By.XPath("//h1")), "The text didn't match.");
        }