checkForRequiredParameter(driver, "driver");
checkForRequiredParameter(url, "url");
checkForRequiredParameter(scriptdirectory, "dir");
if (scriptdirectory == null || !scriptdirectory.isDirectory()) {
throw new UsageException("Script directory must point to a valid directory");
}
}