Skip to content

Instantly share code, notes, and snippets.

@angelovstanton
Created October 23, 2016 14:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save angelovstanton/535f321b9d3bb6f1981b7d589aa0b0a5 to your computer and use it in GitHub Desktop.
Save angelovstanton/535f321b9d3bb6f1981b7d589aa0b0a5 to your computer and use it in GitHub Desktop.
public partial class KilowattHoursPage
{
public IWebElement CelsiusInput
{
get
{
return this.driver.FindElement(By.Id("argumentConv"));
}
}
public IWebElement Answer
{
get
{
return this.driver.FindElement(By.Id("answer"));
}
}
public IWebElement KilowatHoursToNewtonMetersAnchor
{
get
{
return this.driver.FindElement(By.XPath("//a[contains(text(),'Kilowatt-hours to Newton-meters')]"));
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment