code: def _prepare_cookies(self, command, url):
          
  
          req = requests.models.Request()
          req.method = 'GET'
          req.url = url
  
          cookie_values = requests.cookies.get_cookie_header(
              self.session.cookies, req)
  
          if cookie_values:
              self._add_cookies(command, cookie_values)
docs: Extract cookies from the requests session and add them to the command