コード例 #1
0
        public BaseTest()
        {
            DriverFactory driverFactory = new ConcreteDriverFactory();

            // We can add Config file to select browser. For the time being, I have hard coded it.
            Driver = driverFactory.GetWebDriver("chrome");
        }
コード例 #2
0
        public BaseTest()
        {
            DriverFactory driverFactory = new ConcreteDriverFactory();

            // Config file can be added for the browser selection for now have hardcoded it
            Driver = driverFactory.GetWebDriver("chrome");
        }