public WindowsElementFinder(ILocalizedLogger logger, IConditionalWait conditionalWait, Func <ISearchContext> searchContextSupplier)
     : base(logger, conditionalWait, searchContextSupplier)
 {
     Logger                = logger;
     ConditionalWait       = conditionalWait;
     SearchContextSupplier = searchContextSupplier;
 }
示例#2
0
 public JsActions(IElement element, string elementType, ILocalizedLogger logger, IBrowserProfile browserProfile)
 {
     this.element        = element;
     this.elementType    = elementType;
     this.browserProfile = browserProfile;
     Logger = logger;
 }
示例#3
0
 public MouseActions(IElement element, string elementType, ILocalizedLogger logger, IElementActionRetrier elementActionsRetrier)
 {
     this.element               = element;
     this.elementType           = elementType;
     this.logger                = logger;
     this.elementActionsRetrier = elementActionsRetrier;
 }
示例#4
0
 protected BrowserFactory(IActionRetrier actionRetrier, IBrowserProfile browserProfile, ITimeoutConfiguration timeoutConfiguration, ILocalizedLogger localizedLogger)
 {
     ActionRetrier        = actionRetrier;
     BrowserProfile       = browserProfile;
     TimeoutConfiguration = timeoutConfiguration;
     LocalizedLogger      = localizedLogger;
 }
 public DumpManager(IDictionary <string, T> elementsForVisualization, string formName, IVisualizationConfiguration visualizationConfiguration, ILocalizedLogger localizedLogger)
 {
     ElementsForVisualization = elementsForVisualization;
     FormName = formName;
     VisualizationConfiguration = visualizationConfiguration;
     LocalizedLogger            = localizedLogger;
 }
 /// <summary>
 /// Instantiates Element actions for a specific element.
 /// </summary>
 /// <param name="element">Target element.</param>
 /// <param name="elementType">Target element's type.</param>
 /// <param name="windowsDriverSupplier">Method to get current application session.</param>
 /// <param name="localizedLogger">Logger for localized values.</param>
 /// <param name="elementActionsRetrier">Retrier for element actions.</param>
 protected ElementActions(IElement element, string elementType, Func <WindowsDriver <WindowsElement> > windowsDriverSupplier, ILocalizedLogger localizedLogger, IElementActionRetrier elementActionsRetrier)
 {
     this.element               = element;
     this.elementType           = elementType;
     this.windowsDriverSupplier = windowsDriverSupplier;
     this.localizedLogger       = localizedLogger;
     this.elementActionsRetrier = elementActionsRetrier;
 }
示例#7
0
 public Application(AppiumDriver <AppiumWebElement> driver, AppiumLocalService driverService = null)
 {
     Driver             = driver;
     DriverService      = driverService;
     localizedLogger    = AqualityServices.LocalizedLogger;
     applicationProfile = AqualityServices.ApplicationProfile;
     SetImplicitlyWaitToDriver(AqualityServices.Get <ITimeoutConfiguration>().Implicit);
 }
 public LocalBrowserFactory(IActionRetrier actionRetrier, IBrowserProfile browserProfile, ITimeoutConfiguration timeoutConfiguration, ILocalizedLogger localizedLogger)
     : base(actionRetrier, browserProfile, timeoutConfiguration, localizedLogger)
 {
 }
 public MouseActions(ILocalizedLogger localizedLogger, Func <WindowsDriver <WindowsElement> > windowsDriverSupplier)
     : base(localizedLogger, windowsDriverSupplier)
 {
     remoteTouchScreenSupplier = () => new RemoteTouchScreen(windowsDriverSupplier());
 }
示例#10
0
 /// <summary>
 /// Instantiates Application actions.
 /// </summary>
 /// <param name="localizedLogger">Logger for localized values.</param>
 /// <param name="windowsDriverSupplier">Method to get current application session.</param>
 protected ApplicationActions(ILocalizedLogger localizedLogger, Func <WindowsDriver <WindowsElement> > windowsDriverSupplier)
 {
     this.localizedLogger       = localizedLogger;
     this.windowsDriverSupplier = windowsDriverSupplier;
 }
 public ComboBoxJsActions(IElement element, string elementType, ILocalizedLogger logger, IBrowserProfile browserProfile)
     : base(element, elementType, logger, browserProfile)
 {
 }
 public ProcessManager(ILocalizedLogger localizedLogger)
 {
     this.localizedLogger = localizedLogger;
 }
 public ElementFinder(ILocalizedLogger logger, IConditionalWait conditionalWait)
 {
     Logger          = logger;
     ConditionalWait = conditionalWait;
 }
示例#14
0
 /// <summary>
 /// Instantiates Keyboard actions for a specific element.
 /// </summary>
 /// <param name="element">Target element.</param>
 /// <param name="elementType">Target element's type.</param>
 /// <param name="windowsDriverSupplier">Method to get current application session.</param>
 /// <param name="localizedLogger">Logger for localized values.</param>
 /// <param name="elementActionsRetrier">Retrier for element actions.</param>
 public KeyboardActions(IElement element, string elementType, Func <WindowsDriver <WindowsElement> > windowsDriverSupplier, ILocalizedLogger localizedLogger, IElementActionRetrier elementActionsRetrier)
     : base(element, elementType, windowsDriverSupplier, localizedLogger, elementActionsRetrier)
 {
 }
 /// <summary>
 /// Instantiates Mouse actions for a specific element.
 /// </summary>
 /// <param name="element">Target element.</param>
 /// <param name="elementType">Target element's type.</param>
 /// <param name="windowsDriverSupplier">Method to get current application session.</param>
 /// <param name="localizationLogger">Logger for localized values.</param>
 /// <param name="elementActionsRetrier">Retrier for element actions.</param>
 public MouseActions(IElement element, string elementType, Func <WindowsDriver <WindowsElement> > windowsDriverSupplier, ILocalizedLogger localizationLogger, IElementActionRetrier elementActionsRetrier)
     : base(element, elementType, windowsDriverSupplier, localizationLogger, elementActionsRetrier)
 {
     this.element = element;
     remoteTouchScreenSupplier = () => new RemoteTouchScreen(windowsDriverSupplier());
 }
 public RelativeElementFinder(ILocalizedLogger logger, IConditionalWait conditionalWait, Func <ISearchContext> searchContextSupplier)
     : base(logger, conditionalWait)
 {
     ConditionalWait       = conditionalWait;
     SearchContextSupplier = searchContextSupplier;
 }