Ejemplo n.º 1
0
        public AP_Website(string driverName, int pageLoadWaitInSecs = 10, int implicitWaitInSecs = 10)
        {
            SeleniumDriver = new SeleniumDriverConfig(driverName, pageLoadWaitInSecs, implicitWaitInSecs).Driver;

            //Instantiate page objects with the selenium driver
            AP_HomePage   = new AP_HomePage(SeleniumDriver);
            AP_SigninPage = new AP_SigninPage(SeleniumDriver);
        }
 public AP_Website(string driver, int pageLoadInSecs = 10, int implicitWaitInSecs = 10)
 {
     SeleniumDriver = new SeleniumDriverConfig(driver, pageLoadInSecs, implicitWaitInSecs).Driver;
     AP_HomePage    = new AP_HomePage(SeleniumDriver);
     AP_SigninPage  = new AP_SigninPage(SeleniumDriver);
 }