//[OneTimeSetUp] public void Initialize(string center) { Browser = new BrowserBase(); Pages = new PagesBase(Browser); WorkFlows = new WorkFlowsBase(Pages); ChromeOptions options = new ChromeOptions(); options.AddArgument("start-maximized"); //options.AddArgument("--log-level=3"); //options.AddArgument("--silent"); //options.AddArgument("--disable-logging"); //options.AddArgument("sync-short-nudge-delay-for-test"); options.Proxy = null; ChromeDriver driver = new ChromeDriver(ResourcesBase.ChromeDriverPath, options); Browser.Initialize(driver, center); _webDriver = driver; Thread.Sleep(RandomNumberGeneratorUtilities.GetRandomNumber(10) * 100 + 3000); WaitUtilities.WaitForPostBack(_webDriver); }
public WorkFlowsBase(PagesBase pages) { Pages = pages; }