I'm stuck trying to debug the LG TV Webos browser which is a chromium browser (chrome version 38) i've tried Ghostlab, weinre but they dont show any errors in console.
2 Answers
I'm leaving this just as reference since question is old, in case somebody can find this tip helpful since i've been through a lot of trouble to find any kind of infos about WebOS developing.
Env info
I'm developing on Mac, and running app on webOS TV 5.x versions, packaged and installed on physical device via WebOS CLI (Note: there are 2 CLI available, the other one is for WebOS OSE @webosose/ares-cli
that isn't supported in my case).
TL;DR Thats my fix
I've "solved" (see note2) my problem downloading an old chromium version (68), setting it as default browser (on Mac system settings) and then building/running the app + running the inspection.
So far i haven't found an alternative to specify the browser directly in ares-inspect
command instead of setting it as default system browser, but i haven't put any effort trying to solve the problem since it wasn't troubling me at all.
Notes
Note 1: Building/running + inspection means that the following ares commands are executed in series on the same device (see CLI docs for ares usage details) ares-package
->ares-install
->ares-launch
->ares-inspect
Note 2: On some device (can be the older ones but i'm not sure since i can't determine exactly mine devices infos) html inspector doesn't work properly, it's possible to see dom elements, opening them only via double click, but they are not selectable therefore no css info can be inspected, i've no fix available for this problem. Only some device have this problem in some case inspector is just working fine. Console is working fine in all cases though.
No need to say that this is an hack to make things work in a "decent way", it isn't for sure a good practice... Even though "finding hack to make things works" sums up pretty well my entire experience on smart TV developing.

- 305
- 2
- 9
-
hey thanks for the input, hope this will help someone through this hellhole that webOs is – ekclone Mar 15 '23 at 20:01
-
i hope it too, is the only reason i left it since the question was likely already resolved after 4y, but in my experience i had to put a lot of effort and hack on smart tv to make things work, maybe some of this experience can help someone else ;) – Simo Mar 16 '23 at 09:35
Thats impossible, WebOS has worst support regarding this. They even chrome 38 on best case. 33 on worst.
How a OS that has web on name doesn't even have updated browser. So lame.

- 2,580
- 3
- 29
- 49