public ComponentProvider(IComponentCreator componentCreator)
 {
     Components = componentCreator.Create().ToList().AsReadOnly();
 }
Example #2
0
 public ComponentRepository(IComponentCreator componentCreator)
 {
     Components = componentCreator.Create();
 }
Example #3
0
 public T Click <T>() where T : IComponent
 {
     _webElement.Click();
     return(_componentCreator.Create <T>(_driver));
 }