public void WaitWhileElementExists(int waitInterval = 1) { while (BitrixFramework.FindWebElement(this) != null) BitrixFramework.Wait(waitInterval); }