changeWorkingDirectory
‘changeWorkingDirectory(string)’ (BOOL)
This allows you to change the workingDirectory and returns true if the change happened else false
Examples
var fs = require('fs');
console.log(fs.workingDirectory); //prints the location where phantomjs is running
fs.changeWorkingDirectory("C:\\");
console.log(fs.workingDirectory); //prints C:/