Could we maybe add this to https://github.com/mozilla-b2g/marionette-helper ?