public void StartApplication() { string browserType = System.Environment.GetEnvironmentVariable("BROWSER"); string baseUrl = System.Environment.GetEnvironmentVariable("BASE_URL"); string hubUrl = System.Environment.GetEnvironmentVariable("HUB_URL"); if (baseUrl == null) { baseUrl = "http://localhost/php4dvd/"; } DesiredCapabilities capabilities = new DesiredCapabilities(); capabilities.SetCapability(CapabilityType.BrowserName, browserType != null ? browserType : "firefox"); app = new ApplicationManager(capabilities, baseUrl, hubUrl); }
public NavigationHelper(ApplicationManager manager) { this.manager = manager; }
public LoginHelper(ApplicationManager manager) { this.manager = manager; this.pages = manager.Pages; }