コード例 #1
0
        public HomePage SignIn(string username, string password)
        {
            UsernameTextBox.SetText(username);
            PasswordTextBox.SetText(password);
            LoginButton.Click();

            return(Navigate(this).PostBack <HomePage>(WebDriver));
        }