* @return XMLPipelineConfiguration
*/
private XMLPipelineConfiguration createPipelineConfiguration(
WebDriverConfiguration webdConfig) {
final XMLPipelineConfiguration XMLPipelineConfig =
pipelineFactory.createPipelineConfiguration();
XMLPipelineConfig.storeConfiguration(
WebDriverConfiguration.class, webdConfig);
XMLPipelineConfig.storeConfiguration(TransformConfiguration.class,
createTransformConfig());
// create the dynamic configuration
DynamicProcessConfiguration dynamicConfiguration =
pipelineFactory.createDynamicProcessConfiguration();
// get hold of all the rules need for testing
DynamicRuleConfigurator ruleConfigurator =
pipelineFactory.getRuleConfigurator();
// configure the dynamic configuration
ruleConfigurator.configure(dynamicConfiguration);
// store the dynamic configuration away in the pipeline configuration
XMLPipelineConfig.storeConfiguration(
DynamicProcessConfiguration.class,
dynamicConfiguration);
XMLPipelineConfig.storeConfiguration(
ProxySessionIdOperationProcess.class,
createProxySessionIdConfiguration());
return XMLPipelineConfig;
}