Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

avoid cloudflare detection of puppeteer when using browser profiles: #518

Merged
merged 1 commit into from Mar 28, 2024

Conversation

ikreymer
Copy link
Member

@ikreymer ikreymer commented Mar 28, 2024

  • filter out 'other' / no url targets from puppeteer attachment
  • disable '--disable-site-isolation-trials' for profiles
  • workaround for Cloudflare interstitial wait isn't working #446 with profiles
  • also fixes pageExtraDelay not working for non-200 responses - may be useful for detecting captcha blocked pages.
  • connect VNC right away instead of waiting for page to fully finish loading, hopefully resulting in faster profile start-up time.

Can test profile creation with: https://defence-point.gr/ and https://nopecha.com/demo/turnstile to ensure that they now work.

- filter out 'other' targets from puppeteer attachment
- disable '--disable-site-isolation-trials' for profiles
- workaround for #446 with profiles
@ikreymer ikreymer requested a review from tw4l March 28, 2024 04:00
Copy link
Contributor

@tw4l tw4l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and working well, thanks!

@ikreymer ikreymer merged commit ea098b6 into main Mar 28, 2024
4 checks passed
@ikreymer ikreymer deleted the cloudflare-profile-fix branch March 28, 2024 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants