Styrow.dev
Question 59 of 64

What is the difference between Page Object Model (POM) and Page Factory?

Question

What is the difference between Page Object Model (POM) and Page Factory?

Answer

Page Object is a class that represents a web page and hold the functionality and members.

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.