Instrumenting LG webOS apps

To instrument a LG webOS app insert the Suitest instrumentation code into every HTML file of your app, create a build and upload it to Suitest. At this point you should have a working LG webOS device in your Suitest account.


Inserting instrumentation code

Copy and paste the code snippet from the Suitest configuration page into every HTML file of your application. For best results put it as the first script element in your HTML file right after the opening <head> tag.

Inserting Suitest instrumentation library for HTML apps
Inserting Suitest instrumentation library for HTML apps

For apps hosted on HTTPS replace http with https in the code snippet above.

When inserting the library you must make sure, that you don't accidentally release the app to production with Suitest code in it. Suitest code is intended for testing and could damage the user experience of your app's users.

Uploading package to Suitest

You can upload the package on the configuration page. Suitest will automatically install or update the package on the device as necessary when you try running the app on this device.

If you use Suitest Network API you can also send the package with an API request. Suitest will automatically install or update the package on the device as necessary when you try running the app on this device.