-
-
Save omisolaidowu/537fa1b0bde1422bc257ab8c231c2fc7 to your computer and use it in GitHub Desktop.
Initial Memory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// import the required libraries | |
const puppeteer = require('puppeteer-extra'); | |
const StealthPlugin = require('puppeteer-extra-plugin-stealth'); | |
// tie Puppeteer Extra to the Stealth plugin | |
puppeteer.use(StealthPlugin()); | |
(async () => { | |
// start the browser 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