예제 #1
0
 public void TypeOnSearchForm(string keyword, string location)
 {
     Actions.SwitchDriverToNewTab(driver);
     JavaScriptActions.VerifyPageCompleteStateJs(driver);
     Actions.Type(KeywordInput, keyword);
     Actions.Type(LocationInput, location);
 }
예제 #2
0
 public void SelectLoginsMenuItem(string page)
 {
     if (page.Equals("UBS Safe"))
     {
         Actions.ClickOn(driver, UBSSafMenuItem);
     }
     else if (page.Equals("UBS Connect"))
     {
         Actions.ClickOn(driver, UBSConnectMenuItem);
         JavaScriptActions.VerifyPageCompleteStateJs(driver);
     }
 }