Created
October 23, 2016 14:43
-
-
Save angelovstanton/9dfe0fbb4334c215e358062a731aecdf 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 | |
{ | |
public IWebElement EnergyAndPowerAnchor | |
{ | |
get | |
{ | |
return this.driver.FindElement(By.XPath("//a[contains(@title,'Energy Conversion')]")); | |
} | |
} | |
public IWebElement KilowattHours | |
{ | |
get | |
{ | |
return this.driver.FindElement(By.XPath("//a[contains(text(),'Kilowatt-hours')]")); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment