Communicating between Web Browser Widget and outside env

Hi is it possible to exchange data and events between the web browser widget (the JS being executed inside the web page being displayed) and the rest of the game (like the actor’s code/BP that is hosting the widget component in 3D) ? Would also like to execute C++ code to send a message to JS code inside the page being displayed.