uzbl (https://www.uzbl.org/) used to do that but it seems it was too heavy in practice.
Today I'm more interestea in turning the web into a more textual format to integrate it in acme (http://acme.cat-v.org/) which is already built around modularity. Making the web a content provider and letting me interact withit the way I want