How to replace querySelectorAll in HTMLRewriter ? As it is not possible to use DOMParser, the only

How to replace querySelectorAll in HTMLRewriter ?

As it is not possible to use DOMParser, the only way was to use HTMLRewriter but I am having difficulty getting all the ".container"

Error: element.querySelectorAll is not a function or its return value is not iterable
carbon_1.png
Was this page helpful?