Class SessionLogs

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

@Beta @NullMarked @Deprecated(forRemoval=true) public class SessionLogs extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
logging is not in the W3C WebDriver spec and is no longer supported. This class will be removed in a future release.
Contains the logs for a session divided by supported log types.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addLog(String logType, LogEntries logEntries)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    fromJSON(Map<String,Object> rawSessionLogs)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    getLogs(String logType)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SessionLogs

      public SessionLogs()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getLogs

      public LogEntries getLogs(String logType)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • addLog

      public void addLog(String logType, LogEntries logEntries)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getLogTypes

      public Set<String> getLogTypes()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getAll

      public Map<String,LogEntries> getAll()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • fromJSON

      public static SessionLogs fromJSON(Map<String,Object> rawSessionLogs)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • toJson

      @Beta public Map<String,LogEntries> toJson()
      Deprecated, for removal: This API element is subject to removal in a future version.