示例#1
0
 public void OpenNewsPage()
 {
     Waits.ElementToBeClickable(NewsButtonOfMenuLine);
     JsClick(NewsButtonOfMenuLine);
     Waits.UrlContains("/news");
     CloseSignInWindowIfItIsPresent();
 }
示例#2
0
 public string GetLoremIpsumGeneratedText()
 {
     Waits.UrlContains("/feed/");
     Waits.ElementIsVisible(GeneratedTextOfLoremIpsumBy);
     return(GeneratedTextOfLoremIpsum.Text);
 }
示例#3
0
 public void FindArticleUsingSearchBar(string navigationText)
 {
     SearchBar.SendKeys(navigationText);
     ButtonSearchBar.Click();
     Waits.UrlContains("/search");
 }