How do I capture the device logs for app automation and mobile browser automation tests?

How do I capture the device logs for app automation and mobile browser automation tests?

Hello Junior.milton,

You can capture the device logs in the app automation test using the capability "devicelog" : true. Device logs are not available with mobile browser automation tests.