Beispiel #1
0
        public virtual void SetUp()
        {
            var currentBrowser = TestContext.Parameters.Get("Browser", "Chrome");

            Logger.Information("Initialize browser");
            ExtendDriver = BrowserManager.GetInstance(false);
            Driver       = ExtendDriver.WebDriver;
        }
Beispiel #2
0
        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;
        }