コード例 #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();
        }