Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@angelovstanton
Created October 23, 2016 14:44
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/b9cd2a4d5696f9852fd0277c6e0db583 to your computer and use it in GitHub Desktop.
Save angelovstanton/b9cd2a4d5696f9852fd0277c6e0db583 to your computer and use it in GitHub Desktop.
public partial class KilowattHoursPage : BasePage
{
public KilowattHoursPage(IWebDriver driver) : base(driver)
{
}
public override string Url
{
get
{
return "http://www.metric-conversions.org/temperature/celsius-to-fahrenheit.htm";
}
}
public void ConvertKilowattHoursToNewtonMeters(double kWh)
{
this.CelsiusInput.SendKeys(kWh.ToString());
this.driverWait.Until(drv => this.Answer != null);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment