public static IElementNavigator CastAs(this IElementNavigator focus, string typeName) { if (focus.Is(typeName)) { return(focus); } else { return(null); } }
public static IElementNavigator CastAs(this IElementNavigator focus, string typeName) { if (focus.Is(typeName)) { return(focus); } else { return(null); } }