Answers for "puppeteer non headless"

1

puppeteer headless false

const browser = await puppeteer.launch({headless: true});
  const page = await browser.newPage();
  await page.goto('localhost:3000', {
          networkIdleTimeout: 1000,
          waitUntil: 'networkidle',
          timeout: 3000000
        });
  console.log(page.url());
Posted by: Guest on March-04-2021

Browse Popular Code Answers by Language