public FourthHomePage PerformLogin() { UserName.ClearAndSendKeys(ConfigurationManager.AppSettings["User"]); Password.ClearAndSendKeys(ConfigurationManager.AppSettings["Password"]); SignIn.Click(); Driver.WaitElementToDisappear(Password); return(new FourthHomePage(Driver)); }