Exemple #1
0
        public Element(IWebDriver driver, ISafeExecution safeExecution)
        {
            _driver = driver;
            _safeExecution = safeExecution;

            Initialize();
        }
Exemple #2
0
        public Navigation(IWebDriver driver, ISafeExecution safeExecution)
        {
            _driver = driver;
            _safeExecution = safeExecution;

            Initialize();
        }
Exemple #3
0
        public void Initialize()
        {
            _driver = SingletonWebDriver.GetInstance(_webDriverType, _driverServerDirectory).GetDriver();
            _screenCapture = new ScreenCapture(_pathEvidence);
            _safeExecution = new SafeExecution(_screenCapture);

            Element = new Element(_driver, _safeExecution);
            Navigation = new Navigation(_driver, _safeExecution);
        }