Created
February 12, 2017 15:27
-
-
Save angelovstanton/acc6abb4e9d4335121fcc73c11cd41f7 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 HomePage | |
{ | |
private readonly IWebDriver driver; | |
private readonly string url = @"http://automatetheplanet.com"; | |
public HomePage(IWebDriver browser) | |
{ | |
this.driver = browser; | |
PageFactory.InitElements(browser, this); | |
} | |
public void Navigate() | |
{ | |
this.driver.Navigate().GoToUrl(this.url); | |
} | |
public void GoToBlog() | |
{ | |
this.GoToTheBlogLink.Click(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment