try {
browser = WebDriverBackedEmbeddedBrowser.withDriver(new IPhoneDriver(),
filterAttributes, crawlWaitEvent, crawlWaitReload);
} catch (Exception e) {
LOGGER.error("Could not load driver: " + e.getMessage(), e);
throw new CrawljaxException(e);
}
default:
browser = WebDriverBackedEmbeddedBrowser.withDriver(new FirefoxDriver(),
filterAttributes, crawlWaitEvent, crawlWaitReload);