The Java library HtmlUnit allows you to request a given url's content (and I'm told it will also execute the javascript that would execute on that page's load event). I'm looking for this same functionality but within PHP.
The problem that I'm trying to solve is that I'm attempting a curl/wget/get_file_contents to a url that has a bit of javascript that run on page load...this javascript is not executing with the methods that I'm using...and I'd like to use something that can achieve the "get" and additionally execute that page's javascript...so my result from the "get" would be the html markup after the initial javascript has executed.
Thanks