code: def capture_working_directory(self):
          
  
          workdir = os.path.join(self._path, "tmp", "captures")
          if not self._deleted:
              try:
                  os.makedirs(workdir, exist_ok=True)
              except OSError as e:
                  raise aiohttp.web.HTTPInternalServerError(text="Could not create the capture working directory: {}".format(e))
          return workdir
docs: Returns a working directory where to temporary store packet capture files.
  
          :returns: path to the directory