public static void WaitAbsence(this ComponentBase component, bool isPresent = false, string componentDescription = null) { component.IsPresent.Wait($"Ожидаем отсутствие компонента {component.GetCssSelector()} {componentDescription}").EqualTo(isPresent); }