It seems like there could be a nice middle man software project. Something that translated the non-standard compliant code on the web to something more standard compliant, and then you could have many different browsers each doing different things with the standard html it output. I wonder if such a tool is extractable from current projects? Disclaimer: I am not a browser scientist.
To clarify, this then allows you to look inside of the API (to bunch of things talking over more APIs, yay microservices). Then you can see which bit might be causing the issue with the bit of the larger black box you are talking to