function assertBrowserInstance (obj) {
    new _chai.Assertion(obj.browser || obj).to.be.instanceof(Browser)
    return obj.browser || obj
  }