public void InitializationMustPass() { var result = new DefaultChromeDriver(new AutomationDriverOptions { DriverPath = Constants.CHROME_DRIVER_PATH, ScreenshotImagesPath = Constants.SCREENSHOT_IMAGES_PATH }); Assert.NotNull(result); result.Close(); }
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(); }