.getLogTypes() Suggest edits
Gets the available log types. More info about log types in WebDriver can be found here: https://github.com/SeleniumHQ/selenium/wiki/Logging
Usage
.getLogTypes(callback)
Parameters
Name | Type | description |
---|---|---|
callback |
function | Callback function which is called with the result value. |
Returns
Type | description |
---|---|
Array | Available log types |
Example
this.demoTest = function(client) {
this.getLogTypes(function(typesArray) {
console.log(typesArray);
});
};