Beispiel #1
0
        public void Get_element_by_xpath()
        {
            var el = new Element("//*[@id='page_content_holder']/form/fieldset/p[4]/input");

            Assert.NotNull(el);
            Assert.Equal("By.XPath: //*[@id='page_content_holder']/form/fieldset/p[4]/input", el.Current().ToString());
        }
Beispiel #2
0
 public void Get_element_by_id()
 {
     var el = new Element("id = sokun");
     Assert.NotNull(el.Current());
 }