@Override
    public Element selectElement(Element element) {
        List<Element> elements = selectElements(element);
        if (CollectionUtils.isNotEmpty(elements)){
            return elements.get(0);
        }
        return null;
    }
XPath selector based on Xsoup.<br>

@author code4crafter@gmail.com <br>
@since 0.3.0
webmagic-core/src/main/java/us/codecraft/webmagic/selector/XpathSelector.java