@Nullable
@Override
public RunContentDescriptor execute(@NotNull RunProfileState state, @NotNull ExecutionEnvironment env) {
RunContentBuilder contentBuilder = new RunContentBuilder(executionResult, env);
final RunContentDescriptor descriptor = contentBuilder.showRunContent(env.getContentToReuse());
karmaServer.onBrowsersReady(new Runnable() {
@Override
public void run() {
ExecutionUtil.restartIfActive(descriptor);
}
});