Created
October 23, 2017 18:56
-
-
Save angelovstanton/bf15346b19002a197d9576f11c101ad6 to your computer and use it in GitHub Desktop.
This file contains 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 partial class BingMainPage : AssertedNavigatablePage | |
{ | |
public BingMainPage(IWebDriver driver) : base(driver) | |
{ | |
} | |
public override string Url => @"http://www.bing.com/"; | |
public void Search(string textToType) | |
{ | |
SearchBox.Clear(); | |
SearchBox.SendKeys(textToType); | |
GoButton.Click(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment