Esempio n. 1
0
        static BrowserDriver()
        {
            InternetExplorer = new BrowserDriver(() => BrowserFactory(@"InternetExplorerDriver\IEDriverServer.exe", DesiredCapabilities.InternetExplorer()));

            Firefox = new BrowserDriver(() =>
            {
                var profile = new FirefoxProfile();

                return new FirefoxDriver(profile);
            });

            Chrome = new BrowserDriver(() => BrowserFactory());
        }
Esempio n. 2
0
 public void UseBrowser(BrowserDriver webDriver)
 {
     _webDriver = webDriver;
 }