where to use constructors in framework java
In my framework Our BasePage class
have a constructor which takes a
WebDriver object to initialize
a WebDriverWait object. The constructor will
also be responsible to initialize
WebElements via PageFactory.