public IBrowserAdapter Create(BrowserType browserType, string logPath)
        {
            var webDriver = compositeWebDriverFactory.Create(browserType, logPath);

            return(new SeleniumBrowserAdapter(webDriver));
        }
Exemple #2
0
 public IBrowser Create(BrowserType browserType) =>
 new Browser(webDriverFactory.Create(browserType), generalSettings.ScreenshotDir, generalSettings.BaseUrl);