public void GlobalSetUp() { AtataContext.GlobalConfiguration.ApplyJsonConfig(); DriverSetup.GetDefaultConfiguration(BrowserNames.InternetExplorer) .WithX32Architecture(); AtataContext.GlobalConfiguration.AutoSetUpConfiguredDrivers(); }
public void GlobalSetUp() { string driverAlias = TestContext.Parameters.Get("DriverAlias", DriverAliases.Chrome); AtataContext.GlobalConfiguration .ApplyJsonConfig() .UseDriver(driverAlias); DriverSetup.GetDefaultConfiguration(BrowserNames.InternetExplorer) .WithX32Architecture(); AtataContext.GlobalConfiguration.AutoSetUpDriverToUse(); }
public void GlobalSetUp() { AtataContext.GlobalConfiguration .UseChrome() .WithArguments("start-maximized") .UseEdge() // TODO: You can also specify remote driver configuration(s): // .UseRemoteDriver() // .WithAlias("chrome_remote") // .WithRemoteAddress("http://127.0.0.1:4444/wd/hub") // .WithOptions(new ChromeOptions()) .UseBaseUrl("https://demo.atata.io/") .UseCulture("en-US") .UseAllNUnitFeatures(); DriverSetup.GetDefaultConfiguration(BrowserNames.InternetExplorer) .WithX32Architecture(); AtataContext.GlobalConfiguration.AutoSetUpConfiguredDrivers(); }
public void GlobalSetUp() { AtataContext.GlobalConfiguration .UseChrome() .WithArguments("start-maximized") .UseInternetExplorer() // TODO: Specify Internet Explorer settings, like: // WithOptions(x => x.EnableNativeEvents = true). //.UseFirefox(). // WithFixOfCommandExecutionDelay() // TODO: You can also specify remote driver configuration(s): // UseRemoteDriver(). // WithAlias("chrome_remote"). // WithRemoteAddress("http://127.0.0.1:4444/wd/hub"). // WithOptions(new ChromeOptions()). .UseBaseUrl("https://demo.atata.io/") .UseCulture("en-US") .UseAllNUnitFeatures(); DriverSetup.GetDefaultConfiguration(BrowserNames.InternetExplorer) .WithX32Architecture(); AtataContext.GlobalConfiguration.AutoSetUpConfiguredDrivers(); }