Parsing/scraping Javascript from web in C/C++ [closed]

Please tell me – are there libraries for C or C ++ that can do something like the following:

I make a GET request and get HTML, then I open the same page using Chrome, for example, and look at the HTML code of this page.

And they don’t match!

And if I understand correctly, they do not match for the following reason:

-I made a GET request to the server and the server returned the HTML of the requested page.

-Chrome made the same GET request to the server and the server returned the requested page to Chrome, BUT here is the difference: Chrome, as it receives the HTML page, analyzes it for JS code / scripts and executes it on the fly requesting additional data and modifying HTML.

And here is the QUESTION: are there libraries C/C++ that could analyze the JS code and execute the queries that are specified in the JS code?