code: def DocFileSuite(*paths, **kwargs):
      
      kwargs.setdefault('setUp', setUpBrowser)
      kwargs.setdefault('tearDown', tearDownBrowser)
      kwargs.setdefault('globs', {}).update(Browser=Browser)
      kwargs.setdefault('optionflags', doctest.NORMALIZE_WHITESPACE |
                                       doctest.REPORT_ONLY_FIRST_FAILURE |
                                       doctest.ELLIPSIS)
      if 'package' not in kwargs:
          # Resolve relative names based on the caller's module
          kwargs['package'] = doctest._normalize_module(None)
          kwargs['module_relative'] = True
      return doctest.DocFileSuite(*paths, **kwargs)
docs: Extension of the standard DocFileSuite that sets up test browser for
      use in doctests.