Javascript event from web browser component

I am developing an application that uses a web server with python3 that returns an html div from plotly.offline and displays in using the web browser component in ignition 7.9. This system works well for some advanced plotting features that aren’t available natively in ignition.

Plotly has some features to trigger javascript events when points are selected (with a box or lasso) to create popup dialogues or manipulate variables in python. Since, I’m using these plots offline (away from the python3 engine), I think I’ll only have access to the javascript events they create. Is there any way to access the contents of these javascript events using the web browser component? I’d like to basically see which points in the plotly plot are being selected by the user.

I was able to solve this using a similar solution to the post here: Broswer Console Logs from WebBrowser