Skip to content

Instantly share code, notes, and snippets.

@omisolaidowu
Last active February 22, 2024 03:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save omisolaidowu/1b3d02eb2c309b0d2b0239d17366e878 to your computer and use it in GitHub Desktop.
Save omisolaidowu/1b3d02eb2c309b0d2b0239d17366e878 to your computer and use it in GitHub Desktop.
Function start
(async () => {
// run puppeteer in non-headless mode
const browser = await puppeteer.launch({ headless: false });
const page = await browser.newPage();
await browser.close();
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment