code: public void reset() {
  		CrawlSession session = context.getSession();
  		if (crawlpath != null) {
  			session.addCrawlPath(crawlpath);
  		}
  		List<StateVertex> onURLSetTemp = new ArrayList<>();
  		if (stateMachine != null)
  			onURLSetTemp = stateMachine.getOnURLSet();
  		stateMachine = new StateMachine(graphProvider.get(), crawlRules.getInvariants(), plugins,
  				stateComparator, onURLSetTemp);
  		context.setStateMachine(stateMachine);
  		crawlpath = new CrawlPath();
  		context.setCrawlPath(crawlpath);
  		browser.handlePopups();
  		browser.goToUrl(url);
  		// Checks the landing page for URL and sets the current page accordingly
  		checkOnURLState();
  		plugins.runOnUrlLoadPlugins(context);
  		crawlDepth.set(0);
  	}
docs: Reset the crawler to its initial state.