Не работает
var pattern = "Вход|Inter";
if(!instance.ActiveTab.DomText.Contains(pattern))
throw new Exception(string.Format("Pattern with value '{0}' not found", pattern));
Хотя так работат
var pattern = "Вход";
if(!instance.ActiveTab.DomText.Contains(pattern))
throw new...