Puppeteer set cookies
Javascript
const puppeteer = require('puppeteer')
const devices = require('puppeteer/DeviceDescriptors');
const cookies = [
    {
        name: 'k1',
        value: 'v1',
        domain: 'e1.ru',
        path: '/',
        expires: 0,
        size: 4,
        httpOnly: false,
        secure: false,
        session: true,
    },
    {
        name: 'k2',
        value: 'v2',
        domain: 'httpbin.org',
        path: '/',
        expires: 0,
        size: 4,
        httpOnly: false,
        secure: false,
        session: true,
    },
];

(async () => {
  const browser = await puppeteer.launch();
  const page = await browser.newPage()
  await page.emulate(devices['iPhone 6'])
  await page.setCookie(...cookies);
  await page.goto('http://e1.ru/')
  await console.log(page.getCookies())
  await page.screenshot({path: 'full.png', fullPage: true})
console.log(await page.title())
  await browser.close()
})()