Created
November 13, 2016 17:17
-
-
Save angelovstanton/61cdd04fe92be1311f96ecf82c8fd07d 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 void ConvertKilowattHoursToNewtonMeters( | |
double kWh, | |
Format format = CelsiusFahrenheitPage.Format.Decimal) | |
{ | |
this.CelsiusInput.SendKeys(kWh.ToString()); | |
if (format != CelsiusFahrenheitPage.Format.Decimal) | |
{ | |
string formatText = | |
Enum.GetName(typeof(CelsiusFahrenheitPage.Format), format); | |
new SelectElement(this.Format).SelectByText(formatText); | |
} | |
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