I just executed phantomjs.exe and a command line window popup. How could I execute the .js files under ./examples/? If just enter the file name "version.js", I got the error message - "cannot find the variable: version".
Thank you!
You can also create windows environment path variable
add path/to/phantomjs.exe as environment variable with name phantomjs
then From the command line you can then invoke the phantomjs
$ phantomjs path/to/version.js
phantomjs. You have to include path/to/phantomjs.exe into the PATH variable.