public virtual void SetUp() { var currentBrowser = TestContext.Parameters.Get("Browser", "Chrome"); Logger.Information("Initialize browser"); ExtendDriver = BrowserManager.GetInstance(false); Driver = ExtendDriver.WebDriver; }
public override void SetUp() { var currentBrowser = TestContext.Parameters.Get("Browser", "Chrome"); Logger.Information($"Initialize browser - {currentBrowser}"); ExtendDriver = BrowserManager.GetInstance(true, currentBrowser); Driver = ExtendDriver.WebDriver; IsMobile = ExtendDriver.IsMobile; }