"\r\n\r\nError:<br/>" + validate.getErrorMessage());
errorsFound = true;
}
}
if (!errorsFound) {
OAuth2TokenExtractor extractor = getExtractor();
extractor.addBrowserListener(new JavaScriptErrorReporter(profile.getAutomationJavaScripts()));
OAuth2Parameters parameters = new OAuth2Parameters(profile);
try {
extractor.extractAccessToken(parameters);
} catch (Exception ignore) {
}