org.openqa.selenium.logging
Class SessionLogs
java.lang.Object
org.openqa.selenium.logging.SessionLogs
@Beta
public class SessionLogs
- extends Object
Contains the logs for a session divided by supported log types.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionLogs
public SessionLogs()
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 © 2013. All rights reserved.