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

Parameters

Name Type description
callback function

Callback function which is called with the result value.

Example

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