public IWebDriver CreateDriver(BrowserType browser, string name = null, IDictionary <string, string> capabilities = null) { var desiredCapabilities = browser.FindDesiredCapabilities() .AddCapabilitiesFromDictionary(CreateDictionaryForName(name)) .AddCapabilitiesFromDictionary(capabilities) .AddCapabilitiesFromDictionary(_baseCapabilities); return(new RemoteWebDriver(new Uri(RemoteDriverUri), desiredCapabilities)); }