private static String getBadLocatorMsg(String byLocator, Object... args) { return "Bad locator template '" + byLocator + "'. Args: " + print(LinqUtils.select(args, Object::toString), ", ", "'%s'") + "."; }
public static JFuncTT<String, By> getByFunc(By by) { return LinqUtils.first(getMapByTypes(), key -> by.toString().contains(key)); }