Пример #1
0
        public void InitializationMustPass()
        {
            var result = new DefaultChromeDriver(new AutomationDriverOptions
            {
                DriverPath           = Constants.CHROME_DRIVER_PATH,
                ScreenshotImagesPath = Constants.SCREENSHOT_IMAGES_PATH
            });

            Assert.NotNull(result);
            result.Close();
        }
Пример #2
0
        public void InitializationWithBrowserModeMustPass()
        {
            var result = new DefaultChromeDriver(new AutomationDriverOptions
            {
                DriverPath           = Constants.CHROME_DRIVER_PATH,
                ScreenshotImagesPath = Constants.SCREENSHOT_IMAGES_PATH,
                WindowMode           = Enums.BrowserWindowMode.FullScreen
            });

            Assert.NotNull(result);
            result.Close();
        }