private static CrawlSpecification getCrawlSpecification() {
CrawlSpecification crawler = new CrawlSpecification(URL);
crawler.clickDefaultElements();
crawler.dontClick(ALL_ANCHORS).underXPath(HEADER_XPATH);
crawler.dontClick(ALL_ANCHORS).withText(LANGUAGE_TOOLS);
// limit the crawling scope
crawler.setMaximumStates(MAX_STATES);
crawler.setDepth(MAX_CRAWL_DEPTH);