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