コード例 #1
0
 /// <summary>
 /// Function to enter product width
 /// </summary>
 /// <param name="WidthEntered"></param>
 /// <returns></returns>
 public QuotePage EnterWidth(string WidthEntered)
 {
     //Do not remove below Wait. This is essential to ensure that page has loaded
     Thread.Sleep(1000);
     driver.WaitForElementToBecomeVisibleWithinTimeout(Width, 10000);
     Width.EnterText(WidthEntered);
     _logger.Info($": Successfully entered width {WidthEntered}");
     return(this);
 }