public bool WaitForDetailsToDisplay(string details) { return(_driverSupport.FindNewElement(By.XPath($"//h3[contains(text(), '{details}')]")).WaitUntilDisplayed(2)); }
public bool HeaderAmountTest(string amount) { return(_driverSupport.FindNewElement(By.XPath($"//*[@class='loan-amount__header__amount']/span[contains(text(), '{amount}')]")).WaitUntilDisplayed()); }
public bool ShoppingCartName(string value) { return(_driverSupport.FindNewElement(By.XPath($"//h3[contains(text(), '{value}')]")).WaitUntilDisplayed()); }