public AP_Website(int pageLoadInSecs = 60, int implicitWaitInSecs = 60) { SeleniumDriver = new SeleniumDriverConfig <T>(pageLoadInSecs, implicitWaitInSecs).Driver; AP_HomePage = new AP_HomePage(SeleniumDriver); AP_SignInPage = new AP_SignInPage(SeleniumDriver); AP_ContactUsPage = new AP_ContactUsPage(SeleniumDriver); }
public AP_Website(int pageLostInSecs = 30, int implicitWaitInSecs = 30) { //instantiate the driver SeleniumDriver = new SeleniumDriverConfig <T>(pageLostInSecs, implicitWaitInSecs).Driver; //Instantiate the page objects WITH the selenium driver AP_SigninPage = new AP_SigninPage(SeleniumDriver); AP_Homepage = new AP_HomePage(SeleniumDriver); AP_AccountCreation = new AP_AccountCreation(SeleniumDriver); }