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