I research a PHP library that allows to execute javascript code on html content to obtain HTML modified content without browser.
The steps are :
- Get a page with curl or file get content
- Apply a javascript script to the page.
- Save the result page in a file on server.
All in one php script.
Edit :
My goal is to get the result of a php web page after applying a javascript function on this page to change some things.
Is there a PHP library that allows to execute the javascript code of a page Without going through a browser, and return the results in HTML?
NodeJs
notphp