Page object is a class that represent a web page and holds the functionality
A Page Object Model is a way of representing an application in a test framework. For every âpageâ in the application, you create a Page Object to reference the âpageâ.
Page factory is a way to initialize the web elements you want to interact with within the page object when you create an instance of it
A Page Factory is one way of implementing a Page Object Model. In order to support the Page Object pattern, WebDriverâs support library contains a factory class.