How to setup Selenium proxy in JS-Nightwatch?

Tell me how to setup Selenium proxy in JS-Nightwatch.

Hello Macy,

You can refer to the sample code below in setting up Selenium proxy:

var assert = require('assert');
describe('IndexArray', function() {
  describe('#checkIndex negative()', function() {
    it('the function should return -1 when the value is not present', function(){
      assert.equal(-1, [4,5,6].indexOf(7));
    });
  });
});