Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
public class GmailLoginFlow
{
public GmailLoginFlow()
{}
public void verifyGmailLoginFlow(WebDriver driver){
GmailHomePage gmailHomePage = new GmailHomePage(driver);
GmailLoginPage gmailLoginpage = gmailHomePage.clickSignInButton();
gmailLoginpage.setEmail("abc@gmail.com");
gmailLoginpage.clickOnNextButton();
gmailLoginpage.setPassword("23456@qwe");
GmailInboxPage gmailInboxPage= gmailLoginpage.clickOnNextButton();
Assert.assertTrue(gmailInboxPage.gmailHeaderVisibility);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment