Exemplo n.º 1
0
        public ReadOnlyCollection <IWebElement> FindElementsByLinkText(string linkText)
        {
            var results = _my.Select("a").Where(h => h.Value == linkText).Select(r => new WebElement(r));

            return(new ReadOnlyCollection <IWebElement>(results.Cast <IWebElement>().ToList()));
        }
Exemplo n.º 2
0
 protected virtual IHtmlResult SelectCss(string expr)
 {
     return(_my.Select(expr));
 }