"Could not retrieve the Web Driver configuration");
throw exception;
} else {
long timeoutInMillis = -1;
if (configuration.timeoutWasSet()) {
timeoutInMillis = configuration.getTimeoutInMillis();
} else {
// There is no configured timeout, so let's take the one,
// if any, specified in the generic connection timeout
// (remembering to convert from seconds to milliseconds).