Question: what are the main advantages of page object model?
Answer: According to Page Object Model, we should keep our tests and element locators separately, this will keep code clean and easy to understand and maintain.
The Page Object approach makes test automation framework programmer friendly, more durable and comprehensive.