mod-phantomjs

Run script in phantomjs sandbox

mod-phantomjs

Run in phantomjs sandbox

module.exports = {
    plugins: {
        "phantom": "mod-phantomjs"
    },
    tasks: {
        "phantom": {
            script: "./test.js",
            args: "http://www.baidu.com"
        }
    }
};