public AlienWeightResultPage FillOutForm(string planet, int earthWeight) { SelectElement planetDropDown = new SelectElement(AlienPlanet); planetDropDown.SelectByText(planet); EarthWeight.SendKeys(earthWeight.ToString()); CalculateButton.Click(); return(new AlienWeightResultPage(driver)); }
public void ClearForm() { EarthWeight.Clear(); }