appium-flutter-driver
appium-flutter-driver copied to clipboard
Can logs be more readable
The logs generated from running a test using this drive are not the most helpful. Especially if somethings fails. my log look like this:
[0-0] 2025-03-17T14:35:45.779Z INFO webdriver: COMMAND executeScript("flutter:waitFor", <object>)
[0-0] 2025-03-17T14:35:45.780Z INFO webdriver: [POST] http://localhost:4723/session/hgtb32ba-d98g-4f2d-b84a-28095bab3c49/execute/sync
[0-0] 2025-03-17T14:35:45.780Z INFO webdriver: DATA {
[0-0] script: 'flutter:waitFor',
[0-0] args: [
[0-0] 'eyJmaW5kZXJUeXBlIjoiQnhjgdaGGHhgshgsdlUZXh0IiwidGV4dCI6IkRlcG9',
[0-0] 2000
[0-0] ]
[0-0] }
[0-0] 2025-03-17T14:35:47.390Z INFO webdriver: RESULT eyJmaW5kZXJUeXBlIjoiQnhjgdaGGHhgshgsdlUZXh0IiwidGV4dCI6IkRlcG9
FYI: I've modified the encodings incase it contains sensitive info. If the waitFor function timed out and this code failed I wouldn't know where to begin investigating. I have no idea what widget the test was looking for. Is there a way to have appium output human readable logs?