public TablePlugin(IWebDriver driver) { this.driver = driver; commonMethods = new CommonMethods(driver); datePickerCalendarPlugine = new DatePickerCalendarPlugin(driver); pageBlockers = new PageBlockers(driver); }
protected void Initialize() { driver = new ChromeDriver(); driver.Manage().Window.Maximize(); driver.Url = loginModel.SentrifugoDev; logInPage = new LoginPage(driver); commonMethods = new CommonMethods(driver); dashboardPage = new DashboardPage(driver); userProfilePage = new UserProfilePage(driver); selfServicePage = new SelfServicePage(driver); datePickerCalendarPlugine = new DatePickerCalendarPlugin(driver); tablePlugin = new TablePlugin(driver); header = new Header(driver); pageBlockers = new PageBlockers(driver); LogUtil.WriteDebug("**********Starting execution of a new test**********"); LogUtil.WriteDebug("Opened Chrome browser"); LogUtil.WriteDebug("Navigating to " + loginModel.SentrifugoDev); }