public LifeInsurancePage selectGender() { if (gender == "male") { driver.FindElement(male).Click(); quotepage.wait(2, driver); } else { driver.FindElement(female).Click(); quotepage.wait(2, driver); } return(this); }
public InsurancePaymentPage entryName() { driver.FindElement(name).SendKeys(Name); quotepage.wait(3, driver); return(this); }