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