title: How to authentication using session cookie in puppeteer
body: <p><strong>I want to store my session cookie and authenticate my account using puppeteer.</strong></p>
  
  <p><em>Right now I'm using my username and password directly to authenticate.</em></p>
  
  <pre><code>const puppeteer = require('puppeteer');
  (async ()=&gt;{
    const browser= await puppeteer.launch({
       "headless": false,
       "slowMo":20    
    });
    const page= await browser.newPage();
    await page.goto("https://www.linkedin.com/login");
    await page.type('[id=username]','username');
    await page.type('[id=password]','password');
    await page.keyboard.press('Enter',{delay:2000});
    await browser.close();
  })();
  </code></pre>