master-command
v0.0.4
Published
Drive all devices from one place to test multiple browsers and devices
Downloads
11
Maintainers
Readme
master-command
Control multiple devices from your browser for faster testing
Usage
First, install master-command
as a development dependency:
npm install --save-dev master-command
Then, run the command server. using Gulpfile.js
:
gulp.task('command', function() {
nodemon({
script: 'node_modules/master-command/command.js'
})
});
include it on your page
<script src="bower_components/jquery/dist/jquery.js"></script>
<script src="http://_YOUR_IP_:8001/socket.js-client"></script>
<script src="http://_YOUR_IP_:8001/master-command"></script>
<script>
masterCommand.init('http://_YOUR_IP_:8001');
</script>