}
@Override
public WOActionResults performActionNamed(String anActionName) {
log.debug("Selenium Action: " + anActionName);
WOActionResults result = null;
if(ERSelenium.testsEnabled()) {
result = super.performActionNamed(anActionName);
} else {
log.error("Selenium tests support is disabled. You can turn them on using SeleniumTestsEnabled=true in Properties files");
result = stringResponse(ERSelenium.SELENIUM_TESTS_DISABLED_MESSAGE);
}
WOResponse response = result.generateResponse();
if(!session().isTerminating()) {
result = response;
session()._appendCookieToResponse(response);
}
log.debug("Out Session: " + session().sessionID() + response.cookies());