📜  在框架中的何处使用构造函数 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:53.859000             🧑  作者: Mango

代码示例1
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.