public void runOnBrowserCreatedPlugins(EmbeddedBrowser newBrowser) {
		LOGGER.debug("Running OnBrowserCreatedPlugins...");
		counters.get(OnBrowserCreatedPlugin.class).inc();
		for (Plugin plugin : plugins.get(OnBrowserCreatedPlugin.class)) {
			if (plugin instanceof OnBrowserCreatedPlugin) {
				LOGGER.debug("Calling plugin {}", plugin);
				try {
					((OnBrowserCreatedPlugin) plugin)
							.onBrowserCreated(newBrowser);
				} catch (RuntimeException e) {
					reportFailingPlugin(plugin, e);
				}
			}
		}
	}
public void runOnBrowserCreatedPlugins ( EmbeddedBrowser newBrowser ) { LOGGER . debug ( "Running OnBrowserCreatedPlugins..." ) ; counters . get ( OnBrowserCreatedPlugin . class ) . inc ( ) ; for ( Plugin plugin : plugins . get ( OnBrowserCreatedPlugin . class ) ) { if ( plugin instanceof OnBrowserCreatedPlugin ) { LOGGER . debug ( "Calling plugin {}" , plugin ) ; try { ( ( OnBrowserCreatedPlugin ) plugin ) . onBrowserCreated ( newBrowser ) ; } catch ( RuntimeException e ) { reportFailingPlugin ( plugin , e ) ; } } } }
Load and run the OnBrowserCreatedPlugins, this call has been made from the browser pool when a
new browser has been created and ready to be used by the Crawler. The PreCrawling plugins are
executed before these plugins are executed except that the pre-crawling plugins are only
executed on the first created browser.

@param newBrowser the new created browser object