public static TElement CreateByIdStartingWith <TElement>(this ElementCreateService repository, string idPrefix, bool shouldCache = false) where TElement : Element => repository.Create <TElement, FindIdStartingWithStrategy>(new FindIdStartingWithStrategy(idPrefix), shouldCache);
public static TElement CreateByXPath <TElement>(this ElementCreateService repo, string xpath) where TElement : Element <IOSDriver <IOSElement>, IOSElement> => repo.Create <TElement, FindXPathStrategy, IOSDriver <IOSElement>, IOSElement>(new FindXPathStrategy(xpath));
public static TElement CreateByValueContaining <TElement>(this ElementCreateService repo, string text) where TElement : Element <IOSDriver <IOSElement>, IOSElement> => repo.Create <TElement, FindValueContainingStrategy, IOSDriver <IOSElement>, IOSElement>(new FindValueContainingStrategy(text));
public static TElement CreateByIOSNsPredicate <TElement>(this ElementCreateService repo, string predicate) where TElement : Element <IOSDriver <IOSElement>, IOSElement> => repo.Create <TElement, FindIOSNsPredicateStrategy, IOSDriver <IOSElement>, IOSElement>(new FindIOSNsPredicateStrategy(predicate));
public static TElement CreateByIOSUIAutomation <TElement>(this ElementCreateService repo, string automationId) where TElement : Element <IOSDriver <IOSElement>, IOSElement> => repo.Create <TElement, FindIOSUIAutomationStrategy, IOSDriver <IOSElement>, IOSElement>(new FindIOSUIAutomationStrategy(automationId));
public static TElement CreateByClass <TElement>(this ElementCreateService repo, string elementClass) where TElement : Element <IOSDriver <IOSElement>, IOSElement> => repo.Create <TElement, FindClassNameStrategy, IOSDriver <IOSElement>, IOSElement>(new FindClassNameStrategy(elementClass));
public static TElement CreateByName <TElement>(this ElementCreateService repo, string name) where TElement : Element <IOSDriver <IOSElement>, IOSElement> => repo.Create <TElement, FindNameStrategy, IOSDriver <IOSElement>, IOSElement>(new FindNameStrategy(name));
public static TElement CreateById <TElement>(this ElementCreateService repo, string id) where TElement : Element <IOSDriver <IOSElement>, IOSElement> => repo.Create <TElement, FindStrategyId, IOSDriver <IOSElement>, IOSElement>(new FindStrategyId(id));