Browser-repl

browser-repl

Launch a repl on your command line to any browser in the cloud.

browser-repl is a uber cool module from automattic that helps us to get a particular OS/Browser combo (JS engine) to our CLI with some webdriver protocol, scoket.io and localtunnel magic ;)

Currently supported browsers:

  • ie

  • ie6

  • ie7

  • ie8

  • ie9

  • ie10

  • ie11

  • opera

  • safari

  • safari5

  • safari6

  • safari7

  • safari8

  • chrome

  • chromedev

  • firefox

  • firefoxdev

  • ipad

  • ipad4

  • ipad5

  • ipad5.1

  • ipad6

  • ipad6.1

  • iphone

  • iphone4

  • iphone5

  • iphone5.1

  • iphone6

  • iphone6.1

  • android

  • android4.4

  • android4.2

  • android4.1

Currently supported platforms:

  • winxp

  • win7

  • win8

  • win8.1

  • mac10.6

  • mac10.8

  • mac10.9

  • mac10.10

  • linux

  • android

Get it:

1
npm install -g browser-repl

Set up:

1
2
3
# In your *.rc file.
export SAUCE_USERNAME="your username"
export SAUCE_ACCESS_KEY="your key"

To get the SAUCE stuff, sign up for a free OSS account on SauceLabs.

Usage:

1
2
3
4
5
6
7
$ repl

usage: repl <browser>[version] [platform]

options:
 -h: this message
 -k: no remote `console` override

GIF FTW

browser-repl

Suggest a module

Comments