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