public class BrowserClosesDownloadPopUp implements BrowserTest {
@Test
public void webBrowserWindowOpensItIsIgnored() {
BaseCrawler crawler =
new BaseCrawler(Resource.newClassPathResource("/site"), "download/download.html");
CrawlSession crawl = crawler.crawl();
assertThat(crawl.getStateFlowGraph(), hasStates(2));
}