title: How to set PuppeteerSharp load own cookies from file?
body: <p>I would like to keep my session in <code>Puppeteer-Sharp</code> open for next time so I needed to login manually and enter my SMS from google, after I am logged as my YouTube channel and now I need to scrape my data etc...</p>
  <p>So next time I open my puppeteer browser I don't like to repeat this login and sms verification etc...so I found the code how to get cookies so I saw there was 16 cookies names and values which after I login to YouTube shows up, now the question is :</p>
  <ol>
  <li><strong>How to SAVE</strong> this cookies perhaps in .json for better loading</li>
  <li><strong>How to LOAD</strong> them after next time I open my puppeteer browser</li>
  </ol>
  <p>My Code:</p>
  <pre><code>    Await page.GoToAsync(&quot;https://www.youtube.com/&quot;)
  *'HERE I have to manually login because I don't know how should I automate the sms from my mobile to get login, else YouTube doesn't allow other way me to login*
      Dim result = Await page.GetCookiesAsync()
      Console.WriteLine(results)
  </code></pre>
  <p>After I get logged I see 16 lines of cookies anyways what is strange is that logininfo name missing when I login to chrome I use there is this value..</p>