code: public function getCookies()
      {
          $lstCookies = $this->cookie_jar->getCookies();
          $aCookies = [];
          foreach($lstCookies as $oCookies) {
              $aCookies[] = [
                  'name'=>$oCookies->getName(),
                  'value'=>$oCookies->getValue(),
                  'host'=>$oCookies->getHost(),
                  'path'=>$oCookies->getPath(),
                  'expiry'=>$oCookies->getExpiry(),
              ];
          }
          return $aCookies;
      }
docs: Get current list of cookies
  @access public
  @return array