Last active
December 11, 2017 10:53
-
-
Save angelovstanton/155c0c4496a32cd0f9ae to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class WikipediaMainPage : BasePage<WikipediaMainPageMap, WikipediaMainPageValidator>, IWikipediaMainPage | |
{ | |
public WikipediaMainPage() | |
: base(@"mySiteUrl") | |
{ | |
} | |
public void Search(string textToType) | |
{ | |
this.Map.SearchBox.Clear(); | |
this.Map.SearchBox.SendKeys(textToType); | |
this.Map.SearchBox.Click(); | |
} | |
public void ToggleContents() | |
{ | |
this.Map.ContentsToggleLink.Click(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment