org.openqa.selenium.logging
Class SessionLogs

java.lang.Object
  extended by org.openqa.selenium.logging.SessionLogs

@Beta
public class SessionLogs
extends Object

Contains the logs for a session divided by supported log types.


Constructor Summary
SessionLogs()
           
 
Method Summary
 void addLog(String logType, LogEntries logEntries)
           
static SessionLogs fromJSON(org.json.JSONObject rawSessionLogs)
           
 Map<String,LogEntries> getAll()
           
 LogEntries getLogs(String logType)
           
 Set<String> getLogTypes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionLogs

public SessionLogs()
Method Detail

getLogs

public LogEntries getLogs(String logType)

addLog

public void addLog(String logType,
                   LogEntries logEntries)

getLogTypes

public Set<String> getLogTypes()

getAll

public Map<String,LogEntries> getAll()

fromJSON

public static SessionLogs fromJSON(org.json.JSONObject rawSessionLogs)
                            throws org.json.JSONException
Throws:
org.json.JSONException


Copyright © 2012. All Rights Reserved.