Please do documentation for the function, like https://github.com/mozilla-b2g/marionette-helper/blob/master/index.js#L83-L92.