actions.add(uploadAction);
if (!leaveServerRunning()) {
actions.add(browserActionsRunner);
}
if (xmlPrinter != null) {
actions.add(new PrintXmlTestResultsAction(xmlPrinter));
}
// wrap the actions with the setup/teardown actions.
if (needToStartServer()) {
addServerActions(actions, leaveServerRunning());