Пример #1
0
 public AppiumDriver(ICommandExecutor commandExecutor, ICapabilities appiumOptions)
     : base(commandExecutor, appiumOptions)
 {
     AppiumCommand.Merge(commandExecutor.CommandInfoRepository);
     ElementFactory = CreateElementFactory();
 }
 /// <summary>
 /// Initializes a new instance of the AppiumDriver class
 /// </summary>
 /// <param name="commandExecutor">An <see cref="ICommandExecutor"/> object which executes commands for the driver.</param>
 /// <param name="desiredCapabilities">An <see cref="ICapabilities"/> object containing the desired capabilities.</param>
 public AppiumDriver(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities)
     : base(commandExecutor, desiredCapabilities)
 {
     AppiumCommand.Merge(commandExecutor.CommandInfoRepository);
 }