コード例 #1
0
        public void login()
        {
            //driver.Navigate().GoToUrl(@"https://accounts.google.com/signin/v2/identifier?continue=https%3A%2F%2Fmail.google.com%2Fmail%2F&service=mail&sacu=1&rip=1&flowName=GlifWebSignIn&flowEntry=ServiceLogin");
            AddressPage addressPage = new AddressPage();
            PassPage    passPage    = new PassPage();
            InboxPage   inboxPage   = new InboxPage();

            addressPage.GoToPage();
            addressPage.Insert(addressPage.Email, "*****@*****.**");
            addressPage.ElementClick(addressPage.MailSubmit);
            passPage.Insert(passPage.Pass, "!TestAccount1");
            passPage.ElementClick(passPage.PassSubmit);
            //   inboxPage.ElementClick(inboxPage.Inbox);
            addressPage.ElementClick(addressPage.MailSubmit);
        }