Created
October 23, 2016 14:44
-
-
Save angelovstanton/b9cd2a4d5696f9852fd0277c6e0db583 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 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