示例#1
0
 public void TermsAndServicesCheck()
 {
     DriverHelper.Click(By.CssSelector("p.checkbox span"));
 }
示例#2
0
 public void GoToHome()
 {
     DriverHelper.Click(By.CssSelector("#header_logo a"));
 }
示例#3
0
 public void ShippingCheckout()
 {
     DriverHelper.Click(By.CssSelector("button[name='processCarrier']"));
 }
示例#4
0
 public void AddressCheckout()
 {
     DriverHelper.Click(By.CssSelector("button[name='processAddress']"));
 }
示例#5
0
 public void SummaryCheckout()
 {
     DriverHelper.Click(By.CssSelector(".cart_navigation a[title='Proceed to checkout']"));
 }
示例#6
0
 public void PurchaseCheckout()
 {
     DriverHelper.Click(By.CssSelector(".button-container a[title='Proceed to checkout'] span"));
 }
示例#7
0
 public bool IsCurrentStatus(string status)
 {
     return(DriverHelper.GetText(By.CssSelector(".step_current span")).Contains(status));
 }