How do you handle the context window limit? If you push the entire Dom to the LLM it will exceed the context window by far in most cases, isn't it?
Something like https://github.com/Alir3z4/html2text.
I'm sure there are other (better?) options as well.