Sorry, i guess it’s my fault. I modified Menu.cs:
My version now looking as
Summary
static public class MenuTaskExtension
{
static public MenuPathTask ClickMenuEntryByRegexPattern(this IUIElement rootUIElement,
Bot bot, string menuEntryRegexPattern)
{
return ClickMenuEntryByRegexPattern(rootUIElement, bot, menuEntryRegexPattern, "");
}
static public MenuPathTask ClickMenuEntryByRegexPattern(this IUIElement rootUIElement,
Bot bot,
string menuEntryRegexPattern, string menuNextStep)
{
if (null == rootUIElement)
return null;
return new MenuPathTask
{
Bot = bot,
RootUIElement = rootUIElement,
ListMenuListPriorityEntryRegexPattern = new[] { new[] { menuEntryRegexPattern }, new[] { menuNextStep } },
};
}
}
PS: what tag for code on this forum?