Refer to https://github.com/mozilla-b2g/marionette-helper/blob/master/index.js#L83-L92 to have same doc format.