public static ItemBy FixedByAttribute(this CssBy cssBy, string name) { return(cssBy.WithAttribute(name).FixedBy((css, e, i) => css.WithAttribute(name, e.GetAttribute(name)))); }
public static ItemBy FixedByIndex(this CssBy cssBy) { return(cssBy.FixedBy((css, e, i) => css.WithIndex(i))); }
public static ItemBy FixedBy(this CssBy cssBy, Func <CssBy, IWebElement, int, By> fix) { return(new ItemBy(cssBy, (e, i) => fix(cssBy, e, i))); }