bind(URI.class).annotatedWith(BaseUrl.class).toInstance(config.getUrl());
bind(CrawljaxConfiguration.class).toInstance(config);
bind(CrawlRules.class).toInstance(config.getCrawlRules());
bind(ProxyConfiguration.class).toInstance(config.getProxyConfiguration());
BrowserConfiguration browserConfig = config.getBrowserConfig();
bind(BrowserConfiguration.class).toInstance(browserConfig);
if (browserConfig.isDefaultBuilder()) {
bind(EmbeddedBrowser.class).toProvider(WebDriverBrowserBuilder.class);
} else {
bind(EmbeddedBrowser.class).toProvider(
Providers.guicify(browserConfig.getBrowserBuilder()));
}
}