Код: Выделить всё
WebDriverWait wait = new WebDriverWait(driver, TimeSpan.FromSeconds(30));
IWebElement waitresponse = wait.Until(ExpectedConditions.ElementIsVisible(By.XPath("example')]")));
Попытка примера,< /p>
Код: Выделить всё
IWebElement waitresponse = wait.Until(ExpectedConditions.ElementIsVisible(By.XPath("example')]") || (By.XPath("Example2")));
Код: Выделить всё
||
Подробнее здесь: https://stackoverflow.com/questions/565 ... re-visible
Мобильная версия