code: function saveViewport (buffer, selector) {
        const filePath = selectorMap[selector].filePath;
  
        ensureDirectoryPath(filePath);
        return fs.writeFile(filePath, buffer);
      }
docs: result helpers saveViewport: selectors will be `body` or `viewport` ONLY