public BaseTest() { FluentSession.EnableStickySession(); Config.WaitUntilTimeout(TimeSpan.FromMilliseconds(1000)); // Create Page Objects this.InputsPage = new Pages.InputsPage(this); this.AlertsPage = new Pages.AlertsPage(this); this.ScrollingPage = new Pages.ScrollingPage(this); this.TextPage = new Pages.TextPage(this); this.DragPage = new Pages.DragPage(this); this.SwitchPage = new Pages.SwitchPage(this); // Default tests use chrome and load the site //FluentAutomation.SeleniumWebDriver.Bootstrap(SeleniumWebDriver.Browser.Chrome); //, SeleniumWebDriver.Browser.InternetExplorer, SeleniumWebDriver.Browser.Firefox); // Test browserstack local //WbTstr.Configure() // .EnableDebug() // .UseBrowserStackAsRemoteDriver() // .SetBrowserStackBuildIdentifier(buildResultKey) // .EnableBrowserStackLocal() // .PreferedBrowser().IsChrome() // .PreferedOperatingSystem().IsWindows() // .PreferedScreenResolution().IsAny(); WbTstr.Bootstrap(); FluentSession.DisableStickySession(); I.Open(SiteUrl); }
private void ConfigureWbTstr() { WbTstr.Configure() .UseWebDriver(SeleniumWebDriver.Browser.PhantomJs) .BootstrapInstance(); }
public void TextFixtureSetUp() { WbTstr.Configure() .UseWebDriver(SeleniumWebDriver.Browser.Chrome) .BootstrapInstance(); }