Skip to content

Commit

Permalink
Page Bug Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mdervisaygan committed Feb 25, 2024
1 parent 8ef6b16 commit 8c44ac0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "puppeteer-real-browser",
"version": "1.2.1",
"version": "1.2.3",
"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.",
"type": "module",
"exports": "./src/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/module/chromium.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const startSession = ({ args = [], headless = 'auto', customConfig = {},
headless = slugify(process.platform).includes('linux') ? true : false
}

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

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

0 comments on commit 8c44ac0

Please sign in to comment.