title: how to save cookies from puppeteer and use the cookies to make request in python?
body: <pre><code>
  const puppeteer = require('puppeteer-extra')
  // add stealth plugin and use defaults (all evasion techniques)
  const StealthPlugin = require('puppeteer-extra-plugin-stealth')
  puppeteer.use(StealthPlugin())
  
  
  puppeteer.launch({ headless: true,ignoreHTTPSErrors:true, args: [ '--no-sandbox', '--proxy-server=51.158.111.242:8811' ] }).then(async browser =&gt; {
  
  
  console.log('Running tests..')
  
  const page = await browser.newPage()
  
  await page.goto('https://google.com/')
  
  const cookies = await page.cookies();
  
  console.log(cookies);
  
  await fs.writeFile('./cookies.json', JSON.stringify(cookies, null, 2));
  
  await page.screenshot({ path: 'testresult.png', fullPage: true })
  
  await browser.close()
  
  })
  </code></pre>
  
  <p>after saving the cookies into the file, it saves multiple cookies dictionary in file</p>
  
  <p>[
    {
      "name": "_gat",
      "value": "1",
      "domain": "www.google.com",
      "path": "/",
      "expires": 1582024891,
      "size": 5,
      "httpOnly": false,
      "secure": false,
      "session": false
    },
    {
      "name": "_gid",
      "value": "GA1.2.1936512649.1582024831",
      "domain": "www.google.com",
      "path": "/",
      "expires": 1582111231,
      "size": 31,
      "httpOnly": false,
      "secure": false,
      "session": false
    },
    {
      "name": "_ga",
      "value": "GA1.2.1830413277.1582024831",
      "domain": "www.google.com",
      "path": "/",
      "expires": 1645096831,
      "size": 30,
      "httpOnly": false,
      "secure": false,
      "session": false
    },
    {
      "name": "__cfduid",
      "value": "d9ccc472957afbae818db60dff47cc5e01582024830",
      "domain": "www.google.com",
      "path": "/",
      "expires": 1584616830.613503,
      "size": 51,
      "httpOnly": true,
      "secure": true,
      "session": false,
      "sameSite": "Lax"
    }
  ]</p>
  
  <p>I am not able to decide which one should use for making a request in the python-requests module?</p>