} else {
final WebDriverConfiguration webDriverConfig =
(WebDriverConfiguration) pipelineConfig.retrieveConfiguration(
WebDriverConfiguration.class);
if (webDriverConfig != null) {
final HTTPCacheConfiguration httpCacheConfig =
webDriverConfig.getHTTPCacheConfiguration();
if (httpCacheConfig != null) {
enabled = true;
maxEntries = httpCacheConfig.getMaxEntries();
} else {
enabled = false;
maxEntries = 0;
}
} else {