logs property
logs.get(logType)
will give list of logs captured in browser.
Note that for W3C/Firefox, this is not supported and will produce empty list of logs, as the spec for this in W3C is not agreed on and Firefox refuses to support non-spec features. See https://github.com/w3c/webdriver/issues/406.
Implementation
Logs get logs => Logs(_client, _handler);