1
1
mirror of https://github.com/ariya/phantomjs.git synced 2024-09-17 15:47:09 +03:00
phantomjs/examples/version.js
2011-01-01 08:29:03 -08:00

6 lines
147 B
JavaScript

console.log('using PhantomJS version ' +
phantom.version.major + '.' +
phantom.version.minor + '.' +
phantom.version.patch);
phantom.exit();