Appium
getLogTypes
Get available log types.
Appium command. More details can be found in the official protocol docs.
Usage
await driver.getLogTypes()
Returns
- <String[]>
logTypes: The list of available log types, example: browser, driver.
getLogs
Get the log for a given log type. Log buffer is reset after each request.
Appium command. More details can be found in the official protocol docs.
Usage
await driver.getLogs(type)
Parameters
| Name | Type | Details |
|---|---|---|
type | string | the log type |
Returns
- <Object[]>
logs: The list of log entries.