public void LoginToAmazon(string Username) { var LandingPage = new LandingPage(driver); FunctionLibrary.Scroll(); var LoginPage = LandingPage.ClickOnSignInButton(); LoginPage.EnterEmailOrMobileNumber(Username); var PasswordPage = LoginPage.Continue(); PasswordPage.EnterPassword("pillu123$"); PasswordPage.ClickOnLogin(); log.Info("Test Ended"); }