Exemple #1
0
        public UiElement(IWebDriver driver, IWebElement element, IElementResolver resolver)
        {
            _wrappedDriver  = driver;
            _wrappedElement = element;

            _elementFinderService = new ElementFinderService(resolver);
        }
Exemple #2
0
        public WrappedWebDriver(WebDriverConfig config, IElementResolver resolver)
        {
            _config        = config;
            _wrappedDriver = _config.CreateDriver();

            _currentWindow        = new BrowserWindow(_wrappedDriver);
            _elementFinderService = new ElementFinderService(resolver);
        }
Exemple #3
0
        public FormBuilder(IElementResolver resolver)
        {
            if (resolver == null)
            {
                throw new ArgumentNullException("resolver");
            }

            this.resolver = resolver;
        }
Exemple #4
0
 public Button(IWebDriver driver, IWebElement element, IElementResolver resolver)
     : base(driver, element, resolver)
 {
 }
 public ElementFinderService(IElementResolver resolver)
 {
     _resolver = resolver;
 }
Exemple #6
0
 public WpfFormBuilder(IElementResolver resolver)
     : base(resolver)
 {
 }
Exemple #7
0
 public Checkbox(IWebDriver driver, IWebElement element, IElementResolver resolver)
     : base(driver, element, resolver)
 {
 }
Exemple #8
0
 public Frame(IWebDriver driver, IWebElement element, IElementResolver resolver)
     : base(driver, element, resolver)
 {
 }