Ejemplo n.º 1
0
 public void ProceedToCheckOutFromShippingPage()
 {
     if (!ProceedToCheckOutFromShippingPageLink.Selected)
     {
         ProceedToCheckOutFromShippingPageLink.Click();
     }
     WebDriverExtensions.WaitForElementToBePresent(_driver, processCarrierLink).Click();
 }
Ejemplo n.º 2
0
 public string ReturnOrderConfirmationMessage()
 {
     return(WebDriverExtensions.WaitForElementToBePresent(_driver, OrderConfirmationMessageLink).Text);
 }
Ejemplo n.º 3
0
 public void ProceedToCheckoutPageFromAddressPage()
 {
     ((IJavaScriptExecutor)_driver).ExecuteScript("arguments[0].scrollIntoView(true);", ProceedToCheckoutPageFromAddressPageLink);
     WebDriverExtensions.WaitForElementToBePresent(_driver, ProceedToCheckoutPageFromAddressPageLink).Click();
 }