/**
* Shows <a href='https://github.com/crawljax/crawljax/issues/97'>Issue 97</a>
*/
@Test
public void testHiddenElementsSiteCrawl() throws Exception {
CrawlSession crawl = new BaseCrawler("hidden-elements-site") {
@Override
public CrawljaxConfigurationBuilder newCrawlConfigurationBuilder() {
CrawljaxConfigurationBuilder builder =
super.newCrawlConfigurationBuilder();
builder.crawlRules().crawlHiddenAnchors(true);
return builder;
}
}.crawl();
StateFlowGraph stateFlowGraph = crawl.getStateFlowGraph();
/*
* TODO Fix issue #97 https://github.com/crawljax/crawljax/issues/97 It is now party hacked
* by following HREF links.
*/
int withIssue97 = 3 - 1;