puppeteer-real-browser
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "puppeteer-real-browser", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "This package is designed to bypass puppeteer's bot-detecting captchas such as Cloudflare. It acts like a real browser and can be managed with puppeteer.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -135,3 +135,15 @@ # puppeteer-real-browser | ||
const page = pages[0]; | ||
// When the user agent value is not undefined, the waf keeps looping. If the first agent doesn't work for what you are trying to do, use the 2nd one | ||
// await page.setUserAgent(userAgent); | ||
await page.setUserAgent(undefined); | ||
await page.setViewport({ | ||
width: 1920, | ||
height: 1080, | ||
}); | ||
// You can use it if you need to log in to a proxy. | ||
// await page.authenticate({ username: proxy.username, password: proxy.password }); | ||
// You should use it if you want the fingerprint values of the page to be changed. | ||
@@ -138,0 +150,0 @@ // puppeteerAfp(page); |
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
13190
166
0