Skip to content

Commit 8c44ac0

Browse files
committed
Page Bug Fixed
1 parent 8ef6b16 commit 8c44ac0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "puppeteer-real-browser",
3-
"version": "1.2.1",
3+
"version": "1.2.3",
44
"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.",
55
"type": "module",
66
"exports": "./src/index.js",

src/module/chromium.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const startSession = ({ args = [], headless = 'auto', customConfig = {},
4747
headless = slugify(process.platform).includes('linux') ? true : false
4848
}
4949

50-
const chromeFlags = ['--no-sandbox', , '--disable-setuid-sandbox','--disable-blink-features=AutomationControlled'].concat(args);
50+
const chromeFlags = ['--no-sandbox','--disable-setuid-sandbox','--disable-blink-features=AutomationControlled'].concat(args);
5151

5252
if (headless === true) {
5353
slugify(process.platform).includes('win') ? chromeFlags.push('--headless=new') : ''

0 commit comments

Comments
 (0)