Esempio n. 1
0
 public static ItemBy FixedByAttribute(this XPathBy xPathBy, string name)
 {
     return(xPathBy.WithAttribute(name).FixedBy((xpath, e, i) => xpath.WithAttribute(name, e.GetAttribute(name))));
 }
Esempio n. 2
0
 public static ItemBy FixedByIndex(this XPathBy xPathBy)
 {
     return(xPathBy.FixedBy((xpath, e, i) => xpath.WithIndex(i)));
 }
Esempio n. 3
0
 public static ItemBy FixedBy(this XPathBy xPathBy, Func <XPathBy, IWebElement, int, By> fix)
 {
     return(new ItemBy(xPathBy, (e, i) => fix(xPathBy, e, i)));
 }