A couple of words about Page Object
Often in the testing of web applications, every form on a page is described as a separate entity (object) – usually, one single form (in most cases it represents an isolated functionality) is equal to a separate class. All these objects/classes consist of web element instances (various web elements located on the related web form) and methods for interaction with the elements. Let’s imagine there is a Login form in a web application. The form may be described as: public class Login { IWebDriver driver; public Login(IWebDriver driver) { this.driver = driver; } //the class contains only one method //this …