protected override void BeginProcessing()
 {
     CheckCmdletParameters();
     
     var command =
         new SeNewChromeOptionsCommand(this);
     command.Execute();
 }
예제 #2
0
        protected override void BeginProcessing()
        {
            CheckCmdletParameters();

            var command =
                new SeNewChromeOptionsCommand(this);

            command.Execute();
        }
예제 #3
0
        public void ChromeOptions_new()
        {
            NewSeChromeOptionsCommand cmdlet =
                //new NewSeChromeOptionsCommandTestFixture();
                WebDriverFactory.Container.Resolve <NewSeChromeOptionsCommand>();
            //NewSeChromeOptionsCommand.UnitTestMode = true;
            SeNewChromeOptionsCommand command =
                new SeNewChromeOptionsCommand(cmdlet);

            //WebDriverFactory.Container.Resolve<SeNewChromeOptionsCommand>
            command.Execute();
            //Assert.IsNotNull(SePSX.CommonCmdletBase.UnitTestOutput[0] as ChromeOptions);
            Assert.IsNotNull(
                (ChromeOptions)(object)PSTestLib.UnitTestOutput.LastOutput[0]);
        }