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.

Parameters

Name Type description
callback function

Callback function which is called with the result value.

Usage

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