Example #1
0
 public static TElement FindByNameEndingWith <TElement>(
     this IElementFinder finder, string name)
     where TElement : class, IElement
 {
     return(finder.Find <TElement>(AdvancedBy.NameEndingWith(name)));
 }
Example #2
0
 public static TElement FindByInnerTextContaining <TElement>(
     this IElementFinder finder, string innerText)
     where TElement : class, IElement
 {
     return(finder.Find <TElement>(AdvancedBy.InnerTextContains(innerText)));
 }
Example #3
0
 public static TElement FindByClassContaining <TElement>(
     this IElementFinder finder, string cssClassContaining)
     where TElement : class, IElement
 {
     return(finder.Find <TElement>(AdvancedBy.CssClassContaining(cssClassContaining)));
 }
Example #4
0
 public static TElement FindByLinkTextContaining <TElement>(
     this IElementFinder finder, string linkTextContaining)
     where TElement : class, IElement
 {
     return(finder.Find <TElement>(AdvancedBy.LinkTextContaining(linkTextContaining)));
 }
Example #5
0
 public static TElement FindByXpath <TElement>(
     this IElementFinder finder, string xpath)
     where TElement : class, IElement
 {
     return(finder.Find <TElement>(AdvancedBy.Xpath(xpath)));
 }
Example #6
0
 public static TElement FindByValueEndingWith <TElement>(
     this IElementFinder finder, string valueEnding)
     where TElement : class, IElement
 {
     return(finder.Find <TElement>(AdvancedBy.ValueEndingWith(valueEnding)));
 }