Package org.openqa.selenium.remote
Class RemoteLogs
- java.lang.Object
-
- org.openqa.selenium.remote.RemoteLogs
-
-
Field Summary
Fields Modifier and Type Field Description protected ExecuteMethod
executeMethod
static java.lang.String
TYPE_KEY
-
Constructor Summary
Constructors Constructor Description RemoteLogs(ExecuteMethod executeMethod, LocalLogs localLogs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogEntries
get(java.lang.String logType)
Fetches available log entries for the given log type.java.util.Set<java.lang.String>
getAvailableLogTypes()
Queries for available log types.
-
-
-
Field Detail
-
executeMethod
protected ExecuteMethod executeMethod
-
TYPE_KEY
public static final java.lang.String TYPE_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RemoteLogs
public RemoteLogs(ExecuteMethod executeMethod, LocalLogs localLogs)
-
-
Method Detail
-
get
public LogEntries get(java.lang.String logType)
Description copied from interface:Logs
Fetches available log entries for the given log type. Note that log buffers are reset after each call, meaning that available log entries correspond to those entries not yet returned for a given log type. In practice, this means that this call will return the available log entries since the last call, or from the start of the session. For more info on enabling logging, look atLoggingPreferences
.
-
getAvailableLogTypes
public java.util.Set<java.lang.String> getAvailableLogTypes()
Description copied from interface:Logs
Queries for available log types.- Specified by:
getAvailableLogTypes
in interfaceLogs
- Returns:
- A set of available log types.
-
-