public void SetMinPrice() { WebDriverWait wait = new WebDriverWait(driver, TimeSpan.FromSeconds(10)); wait.Until(ExpectedConditions.ElementIsVisible(By.XPath("//div[@class='slider-filter__inner']/input[1]"))); MinPrice.Clear(); MinPrice.SendKeys(bookPrice + Keys.Enter); }
public void SetMinPriceAli() { MinPrice.Clear(); MinPrice.SendKeys(bookPrice); OkButton.Click(); }