public IBrowserAdapter Create(BrowserType browserType, string logPath) { var webDriver = compositeWebDriverFactory.Create(browserType, logPath); return(new SeleniumBrowserAdapter(webDriver)); }
public IBrowser Create(BrowserType browserType) => new Browser(webDriverFactory.Create(browserType), generalSettings.ScreenshotDir, generalSettings.BaseUrl);