public void ConvertKilowattHoursToNewtonMeters(double kWh, Format format = Format.Decimal) { CelsiusInput.SendKeys(kWh.ToString()); if (format != Format.Decimal) { var formatText = Enum.GetName(typeof(Format), format); new SelectElement(FormatField).SelectByText(formatText); } DriverWait.Until(drv => Answer != null); }
public void ConvertKilowattHoursToNewtonMeters(double kWh) { CelsiusInput.SendKeys(kWh.ToString()); DriverWait.Until(drv => Answer != null); }