Appium: Browser INFO level logs are not captured on Android

Created on 26 Feb 2019  路  3Comments  路  Source: appium/appium

馃悰 Bug Report


The problem

Console Logs are not captured on Android (INFO level logs are not captured)

Environment

  • Appium version: 1.8.0
  • System Version (used to run Appium): macOS 10.13.2 (17C88) (Kernel Version: Darwin 17.3.0)
  • Jave 1.8.0
  • Real device: YES
  • Device Name: Nokia 7 Plus
  • Android Version: 9

Details

The browser console logs generated by a website are not captured on Android device. Specfically INFO level logs are not captured.

Link to Appium logs

Android_INFO_Level_Logs.log

Code To Reproduce Issue

Android_INFO_Level_Logs.java

Excepted Output

[INFO] console-api 371:40 "This is a LOG"
[SEVERE] console-api 371:40 "This is an ERROR"
[WARNING] console-api 371:40 "This is a WARNING"
[INFO] console-api 371:40 "This is an INFO"

Actual Output

[SEVERE] console-api 371:40 "This is an ERROR"
[WARNING] console-api 371:40 "This is a WARNING"

Bug Mobile Chrome

Most helpful comment

This functionality should be available in the beta now (npm install [-g] appium@beta)

All 3 comments

Hmm. Yes, this should be enabled by default. I will create a PR to do so.

This functionality should be available in the beta now (npm install [-g] appium@beta)

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings