this.execute(session, true, true);
}
public void execute(Session session, boolean async, boolean setDefaultReporters) throws Exception {
System.out.println("#### Running Script: " + scriptName);
scriptRunner = new RhinoScriptRunner(new ScriptFactory().getScript(scriptName), session.getSuite(), this, setDefaultReporters);
session.setScriptRunner(scriptRunner);
if (!isSingleSession) {
launchBrowser();
}
if (async) scriptRunner.execute();