예제 #1
0
 public void search(string textToSearch)
 {
     WebActions.sendTextToElement(inputSearch, textToSearch, true);
     WebActions.waitVisible("//ul[@role='listbox']", 30, true);
     WebActions.clickElement(imgGoogle, false);
     WebActions.clickElement(btnGoogleSearch, true);
 }
예제 #2
0
 public void CloseSearchList()
 {
     WebActions.waitVisible(ulSuggestionList, "suggestion list", new TimeSpan(0, 0, 30), true);
     WebActions.clickElement(imgGoogle, "google logo", false);
 }