* @param searchContext {@code SearchContext} that will be used to look up the elements.
* @return Initialized instance of the specified class.
*/
public static <T extends HtmlElement> T createHtmlElement(Class<T> clazz, SearchContext searchContext) {
T htmlElementInstance = HtmlElementFactory.createHtmlElementInstance(clazz);
populateHtmlElement(htmlElementInstance, new HtmlElementLocatorFactory(searchContext));
return htmlElementInstance;
}