├── .gitignore ├── .jshintrc ├── LICENSE.md ├── README.md ├── api.md ├── examples └── cucumber │ └── feature │ └── support │ └── world.js ├── home.md ├── index.js ├── lib ├── phantom.js ├── proxy.js ├── request │ ├── LICENSE │ ├── aws.js │ ├── forever.js │ ├── main.js │ ├── oauth.js │ ├── tunnel.js │ ├── uuid.js │ └── vendor │ │ └── cookie │ │ ├── index.js │ │ └── jar.js ├── server │ ├── index.js │ ├── phantom.js │ ├── server.js │ └── webpage.js └── webpage.js ├── package.json └── test ├── mocha.opts ├── phantom.spec.js ├── resources └── include.js └── webpage.spec.js /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .idea 3 | *.iml 4 | node_modules 5 | scratch 6 | npm-debug.log 7 | -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheebz/phantom-proxy/HEAD/.jshintrc -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheebz/phantom-proxy/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheebz/phantom-proxy/HEAD/README.md -------------------------------------------------------------------------------- /api.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheebz/phantom-proxy/HEAD/api.md -------------------------------------------------------------------------------- /examples/cucumber/feature/support/world.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheebz/phantom-proxy/HEAD/examples/cucumber/feature/support/world.js -------------------------------------------------------------------------------- /home.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = require('./lib/proxy'); 3 | -------------------------------------------------------------------------------- /lib/phantom.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheebz/phantom-proxy/HEAD/lib/phantom.js -------------------------------------------------------------------------------- /lib/proxy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheebz/phantom-proxy/HEAD/lib/proxy.js -------------------------------------------------------------------------------- /lib/request/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheebz/phantom-proxy/HEAD/lib/request/LICENSE -------------------------------------------------------------------------------- /lib/request/aws.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheebz/phantom-proxy/HEAD/lib/request/aws.js -------------------------------------------------------------------------------- /lib/request/forever.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheebz/phantom-proxy/HEAD/lib/request/forever.js -------------------------------------------------------------------------------- /lib/request/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheebz/phantom-proxy/HEAD/lib/request/main.js -------------------------------------------------------------------------------- /lib/request/oauth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheebz/phantom-proxy/HEAD/lib/request/oauth.js -------------------------------------------------------------------------------- /lib/request/tunnel.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheebz/phantom-proxy/HEAD/lib/request/tunnel.js -------------------------------------------------------------------------------- /lib/request/uuid.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheebz/phantom-proxy/HEAD/lib/request/uuid.js -------------------------------------------------------------------------------- /lib/request/vendor/cookie/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheebz/phantom-proxy/HEAD/lib/request/vendor/cookie/index.js -------------------------------------------------------------------------------- /lib/request/vendor/cookie/jar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheebz/phantom-proxy/HEAD/lib/request/vendor/cookie/jar.js -------------------------------------------------------------------------------- /lib/server/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheebz/phantom-proxy/HEAD/lib/server/index.js -------------------------------------------------------------------------------- /lib/server/phantom.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheebz/phantom-proxy/HEAD/lib/server/phantom.js -------------------------------------------------------------------------------- /lib/server/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheebz/phantom-proxy/HEAD/lib/server/server.js -------------------------------------------------------------------------------- /lib/server/webpage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheebz/phantom-proxy/HEAD/lib/server/webpage.js -------------------------------------------------------------------------------- /lib/webpage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheebz/phantom-proxy/HEAD/lib/webpage.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheebz/phantom-proxy/HEAD/package.json -------------------------------------------------------------------------------- /test/mocha.opts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheebz/phantom-proxy/HEAD/test/mocha.opts -------------------------------------------------------------------------------- /test/phantom.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheebz/phantom-proxy/HEAD/test/phantom.spec.js -------------------------------------------------------------------------------- /test/resources/include.js: -------------------------------------------------------------------------------- 1 | window.includedByPhantom = true; 2 | -------------------------------------------------------------------------------- /test/webpage.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sheebz/phantom-proxy/HEAD/test/webpage.spec.js --------------------------------------------------------------------------------