public synchronized String getLog ( SessionId sessionId ) throws IOException { // TODO(chandra): Provide option to clear logs after getLog() String logs = formattedRecords ( sessionId ) ; logs = "\n<RC_Logs RC_Session_ID=" + sessionId + ">\n" + logs + "\n</RC_Logs>\n" ; return logs ; }
This returns Selenium Remote Control logs associated with the sessionId .