HtmlElement.Net
|
Creates caching loaders for WebElements and list of WebElements. More...
Inherits HtmlElements.LazyLoad.ILoaderFactory.
Public Member Functions | |
LoaderFactory (IPageObjectFactory pageObjectFactory, IProxyFactory proxyFactory) | |
Initializes a new instance of the LoaderFactory class. More... | |
ILoader< IWebElement > | CreateElementLoader (ISearchContext searchContext, By locator, bool enableCache) |
Creates element loader using search context and locator to find WebElement. More... | |
ILoader< ReadOnlyCollection< IWebElement > > | CreateElementListLoader (ISearchContext searchContext, By locator, bool enableCache) |
Creates element list loader using search context and locator to find list of elements. More... | |
object | CreateListLoader (Type elementType, ISearchContext searchContext, By locator, bool enableCache) |
Create list loader wrapping web elements loader. More... | |
ILoader< IList< TElement > > | CreateListLoader< TElement > (ISearchContext searchContext, By locator, bool enableCache) |
Create list loader wrapping web elements loader. More... | |
Creates caching loaders for WebElements and list of WebElements.
HtmlElements.LazyLoad.LoaderFactory.LoaderFactory | ( | IPageObjectFactory | pageObjectFactory, |
IProxyFactory | proxyFactory | ||
) |
Initializes a new instance of the LoaderFactory class.
pageObjectFactory | The page object factory used for creating typed list items dynamically. |
proxyFactory | The proxy factory used for creating typed list items dynamically. |
ILoader<ReadOnlyCollection<IWebElement> > HtmlElements.LazyLoad.LoaderFactory.CreateElementListLoader | ( | ISearchContext | searchContext, |
By | locator, | ||
bool | enableCache | ||
) |
Creates element list loader using search context and locator to find list of elements.
searchContext | Where to search for web elements. |
locator | How to find a web elements. |
enableCache | Whether elements should be cached once found. |
Implements HtmlElements.LazyLoad.ILoaderFactory.
ILoader<IWebElement> HtmlElements.LazyLoad.LoaderFactory.CreateElementLoader | ( | ISearchContext | searchContext, |
By | locator, | ||
bool | enableCache | ||
) |
Creates element loader using search context and locator to find WebElement.
searchContext | Where to search for web element. |
locator | How to find a web element. |
enableCache | Whether element should be cached once found. |
Implements HtmlElements.LazyLoad.ILoaderFactory.
object HtmlElements.LazyLoad.LoaderFactory.CreateListLoader | ( | Type | elementType, |
ISearchContext | searchContext, | ||
By | locator, | ||
bool | enableCache | ||
) |
Create list loader wrapping web elements loader.
elementType | Type of list items. |
searchContext | Where to search for web elements. |
locator | How to find a web elements. |
enableCache | Whether elements should be cached once found. |
Implements HtmlElements.LazyLoad.ILoaderFactory.
ILoader<IList<TElement> > HtmlElements.LazyLoad.LoaderFactory.CreateListLoader< TElement > | ( | ISearchContext | searchContext, |
By | locator, | ||
bool | enableCache | ||
) |
Create list loader wrapping web elements loader.
TElement | Type of list items. |
searchContext | Context used to locate web elements. |
locator | How to find a web elements. |
enableCache | Whether elements should be cached once found. |
Implements HtmlElements.LazyLoad.ILoaderFactory.