Skip to content

Instantly share code, notes, and snippets.

@secretdataz
Created August 15, 2021 12:05
Show Gist options
  • Save secretdataz/e376b59fd33956a17f310a282021b49f to your computer and use it in GitHub Desktop.
Save secretdataz/e376b59fd33956a17f310a282021b49f to your computer and use it in GitHub Desktop.
Popcat click bot using Puppeteer
// 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