public void SearchInGoogle()
        {
            SearchField.Click();
            SearchField.SendKeys("selenium");

            GoogleSearchButton.SendKeys(Keys.Enter);
        }
示例#2
0
 public void PerformGoogleSearchAndClickOnTheFirstResult()
 {
     SearchTextField.SendKeys("selenium");
     WhiteField.Click();
     GoogleSearchButton.Click();
     FirstResultAfterSearch.Click();
 }
示例#3
0
 public void GoogleSearch(string searchText)
 {
     SearchFieldTextBox.SendKeys(searchText);
     Thread.Sleep(500);
     GoogleSearchButton.Click();
 }
示例#4
0
 public void PerformGoogleSearch()
 {
     SearchTextField.SendKeys("selenium");
     WhiteField.Click();
     GoogleSearchButton.Click();
 }