예제 #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();
        }