title: Calling custom command in nightwatch.js
body: <p>What I'd like to do is call a custom command within another custom command in nightwatch.js (with the aim of making the tests less brittle).</p>
  <p>For example, in my first custom command (<strong>message1.js</strong>), I could have the following code;</p>
  <pre><code>exports.command = function(browser) {
    this
      browser
        console.log('display this first')
    return this;
  </code></pre>
  <p>and subsequently in my second custom command (<strong>message2.js</strong>), I want to call on the <strong>message1.js</strong> command first, then perform the rest of the code.</p>
  <p>For example;</p>
  <pre><code>exports.command = function(browser) {
   this
     browser
       //call the message1.js command
         console.log('display the second message')
   return this;
  </code></pre>
  <p>I've tried calling it with the method;</p>
  <pre><code>exports.command = function(browser) {
    this
      browser
        .message1();
          console.log('display the second message')
    return this;
  </code></pre>
  <p>but this didn't work.</p>
  <p>So my question(s) is;</p>
  <p>Is it possible to call one custom command in another custom command
  And if not, is there another way of doing this?</p>