How to fire turbo_stream by browser visibilitychange

Or do you mean you want something to happen when the DOM element becomes visible on screen?

If that is the case you can simply use lazy loading on that frame!