static public ISerializableBotTask DoubleClickTask(this IUIElement element) { return(new BotTask("Double click on " + element) { ClientActions = new[] { element.MouseDoubleClick(MouseButtonIdEnum.Left).AsRecommendation() } }); }