Created
August 15, 2021 12:05
-
-
Save secretdataz/e376b59fd33956a17f310a282021b49f to your computer and use it in GitHub Desktop.
Popcat click bot using Puppeteer
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
// npm install --save puppeteer | |
// node ./popcat.js | |
const puppeteer = require('puppeteer'); | |
(async () => { | |
const browser = await puppeteer.launch({ headless: true }); | |
const page = await browser.newPage(); | |
await page.goto('https://popcat.click'); | |
setInterval(() => { | |
page.keyboard.press('a'); | |
}, 38); | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment