id='foo'] includes the div, span and a elements //SPAN[@id='foo'] includes the span and a elements //DIV[@class='link'] will not include any elements IMPORTANT: In the xpath expression write elements in uppercase and attributes in lowercase
@param xpathExpression the xpath expression where the element should under
@return This CrawlElement
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.