protected final boolean isPageFragmentClass(Class<?> clazz) {
return !clazz.isInterface() && !Modifier.isFinal(clazz.getModifiers()) && !Modifier.isInterface(clazz.getModifiers());
}
protected final <T> List<T> createPageFragmentList(final Class<T> clazz, final SearchContext searchContext, final By rootBy) {
List<T> result = GrapheneProxy.getProxyForFutureTarget(new FutureTarget() {
@Override
public Object getTarget() {
List<WebElement> elements = searchContext.findElements(rootBy);
List<T> fragments = new ArrayList<T>();
for (int i = 0; i < elements.size(); i++) {