code: def headless(self, value):
          
          args = {'--headless'}
          if value is True:
              self._arguments.extend(args)
          else:
              self._arguments = list(set(self._arguments) - args)
docs: Sets the headless argument
  
          :Args:
            value: boolean value indicating to set the headless option