.isLogAvailable() Suggest edits
Utility command to test if the log type is available.
Usage
.isLogAvailable([typeString], [callback])
Example
this.demoTest = function(browser) {
browser.isLogAvailable('browser', function(isAvailable) {
// do something more in here
});
}
Parameters
Name | Type | description |
---|---|---|
typeString |
string | function | Type of log to test |
callback |
function | Callback function which is called with the result value. |