org.openqa.selenium.logging
Interface Logs

All Known Implementing Classes:
LocalLogs

@Beta
public interface Logs

Interface which provides logs.


Method Summary
 LogEntries get(String logType)
          Fetches the logs for the given log type.
 

Method Detail

get

LogEntries get(String logType)
Fetches the logs for the given log type. For more info on enabling logging, look at LoggingPreferences.

Parameters:
logType - String. Can be any of the values in LogType.
Returns:
all log entries for the specified logtype if enabled. Returns null if the log type is unknown by the dtiver.


Copyright © 2012. All Rights Reserved.