Validate.isEmpty(implementationClassName,
"The combination of browserCapabilities=" + configuration.getBrowserCapabilities()
+ ", implemenationClass=" + implementationClassName
+ " does not to a valid browser. Please specify supported browserCapabilities");
DroneRegistry registry = registryInstance.get();
Class<?> implementationClass = SecurityActions.getClass(implementationClassName);
instantiator = registry.getEntryFor(implementationClass, Instantiator.class);
}
// if we've found an instantiator and at the same time we are sure that it is not the current one
// invoke it instead in order to get capabilities and other advanced stuff
if (instantiator != null && instantiator.getClass() != this.getClass()) {