code: def to_capabilities(self):
          
          caps = self._caps
          chrome_options = self.experimental_options.copy()
          chrome_options["extensions"] = self.extensions
          if self.binary_location:
              chrome_options["binary"] = self.binary_location
          chrome_options["args"] = self.arguments
          if self.debugger_address:
              chrome_options["debuggerAddress"] = self.debugger_address
  
          caps[self.KEY] = chrome_options
  
          return caps
docs: Creates a capabilities with all the options that have been set
  
          :Returns: A dictionary with everything