public void SelectMenu(params string[] path) { string pathForLog = ""; foreach (var pathitem in path) { pathForLog = String.Concat(pathForLog, $"{pathitem} => "); } LoggerUtil.Info($"Selecting {pathForLog} in {ItemName}"); UiItem.MenuItem(path).Click(); }