示例#1
0
        protected IDriver GetDriver(TestTarget target)
        {
            IConfiguration defaultConfig = null;

            //here we creating an IDriver using Selenium as the implementation
            return(VerifyToContinue((t) => DriverFactory.Create(target, out defaultConfig), target).ToIDriver(defaultConfig));
        }
示例#2
0
 protected IDriver GetDriver(TestTarget target, IConfiguration configuration)
 {
     //here we creating an IDriver using Selenium as the implementation with configuration
     return(VerifyToContinue((t) => DriverFactory.Create(configuration), target).ToIDriver(configuration));
 }