Gets an array of strings for which log types are available. This methods returns the entire WebDriver response, if you are only interested in the logs array, use .getLogTypes() instead.

Usage

Example

 this.demoTest = function (browser) {
   browser.sessionLogTypes(function(result) {
     console.log(result.value);
   });
}

Parameters

Name Type description
callback function

Callback function which is called with the result value.