Using curl to execute an HTML page on the file system -
i have html file acting test runner. when rendered in chrome or other browser page loads , executes needed javascript.
how same behavior using curl?
currently have command, curl "file:///c:/bb/shenanigan-api-html5/shenanigan.html" --compressed
returns html source , doesn't execute page.
curl transfers info not have ability run javascript. utilize phantomjs has command line options, can read local html files , interacts javascript.
curl
No comments:
Post a Comment