Class Index | File Index

Classes


Class webdriver.WebDriver.Logs


Defined in: webdriver.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Interface for managing WebDriver log records.
Method Summary
Method Attributes Method Name and Description
 
get(type)
Fetches available log entries for the given type.
 
Retrieves the log types available to this driver.
Class Detail
webdriver.WebDriver.Logs(driver)
Interface for managing WebDriver log records.
Parameters:
{!webdriver.WebDriver} driver
The parent driver.
Method Detail
{!webdriver.promise.Promise.>} get(type)
Fetches available log entries for the given 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.

Parameters:
{!webdriver.logging.Type} type
The desired log type.
Returns:
{!webdriver.promise.Promise.>} A promise that will resolve to a list of log entries for the specified type.

{!webdriver.promise.Promise.>} getAvailableLogTypes()
Retrieves the log types available to this driver.
Returns:
{!webdriver.promise.Promise.>} A promise that will resolve to a list of available log types.

Documentation generated by JsDoc Toolkit 2.4.0 on Sat Jan 25 2014 14:42:03 GMT-0500 (EST)