Utility command to test if the log type is available.

Usage

.isLogAvailable([typeString], callback)

Parameters

Name Type description
typeString string|function

Type of log to test

callback function

Callback function which is called with the result value.

Example

this.demoTest = function(browser) {
  browser.isLogAvailable('browser', function(isAvailable) {
    // do something more in here
  });
}

See also