Answer the question
In order to leave comments, you need to log in
How to get the page code after executing JavaScript on it through the OS command line?
I tried such options as:
phontomjs - the page is saved in a static form, it works like curl
google-chrome --headless - the page is saved, but JavaScript is only executed for a couple of seconds, and the rest of the content does not have time to load.
selenium - too complicated and not clear, forms large chains
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question