undetected-puppeteer
Version:
1:1 (sorta) replacement for Puppeteer, but undetected
34 lines (24 loc) • 789 B
Markdown
Literally Puppeteer (for Chrome), but not detected asf
# [Fingerprinting Results](bot-test.png)
## Installation
```bash
npm install undetected-puppeteer
```
## Usage
```javascript
const puppeteer = require('undetected-puppeteer');
(async () => {
const browser = await puppeteer.launch({ headless: false });
const page = await browser.newPage();
await page.goto('https://bot.sannysoft.com');
await page.waitForTimeout(5000);
await page.screenshot({ path: 'bot-test.png', fullPage: true });
await browser.close();
})();
```
- (hopefully) works exactly as Puppeteer does
- you can replace your use of Puppeteer with undetected-puppeteer
Same API as Puppeteer, with improved `launch()` method