Put the PageFactory.initElements call within the Page object itself. That way, the outer code flows better.