jwproxy-repl
A JWProxy server REPL to play with webdriver requests
Install
npm install -g jwproxy-repl
Quick usage
Starting the jwproxy-repl
jwproxy-repl --opts='{"server":"localhost","port": 4723,"base":"/wd/hub"}'
Starting a session
jwproxy.command('/session', 'POST', caps.firefox)
Taking a full page screenshot on firefox
jwproxy.command('/moz/screenshot/full', 'GET)
Deleting the session
jwproxy.command('', 'DELETE')
Moar
jwproxy.command('/session', 'POST', {desiredCapabilities: {browserName: "chrome"}})
you can also add this capabilities directly on ~/.jwproxy-repl.js
for quick access