public void join()
        {
            HomePage homePage = new HomePage(driver);
            homePage.clickSigninLink();
            SignInPage joinPage = new SignInPage(driver);
            joinPage.setUsername("Test");
            joinPage.setPassword("Case");

            HomePage homePage2 = new HomePage(driver);
            homePage.clickSigninLink().setUsername("Test")
                .setPassword("Case").submitForm();

            //Is the same as above
            Factory pages = new Factory(driver);
            pages.homePage().clickSigninLink().setUsername("Test")
                .setPassword("Case").submitForm();
        }
 public void navigationToRegisterPage()
 {
     HomePage homePage = new HomePage(driver);
     homePage.clickSigninLink();
     homePage.clickRegisterLink();
 }