ultrafunkamsterdam / undetected-chromedriver

Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imperva/ Datadadome / CloudFlare IUAM)
https://github.com/UltrafunkAmsterdam/undetected-chromedriver
GNU General Public License v3.0
9.72k stars 1.14k forks source link

patch chromedriver #1488

Open gfuf opened 1 year ago

gfuf commented 1 year ago

Hi, is it possible to patch the chrome driver so that it becomes undetectable with this package and so that the chrome driver can be used without this package in the future?

mdmintz commented 1 year ago

Patching chromedriver isn't enough. To avoid detection, you also need to:

gfuf commented 1 year ago

Patching chromedriver isn't enough. To avoid detection, you also need to:

  • Configure Chrome / chromedriver options in a very specific way.
  • Launch Chrome independently of chromedriver before attaching it.
  • Disconnect chromedriver from Chrome while performing stealth actions. (Reconnect afterwards)

ty, i am trying to use it in java. i can add options from package. But patching is difficult for me

About

mdmintz commented 1 year ago

https://github.com/ultrafunkamsterdam/undetected-chromedriver/blob/a415e40b0b6e260a0b5844dd714c7f358a168ceb/undetected_chromedriver/__init__.py#L705

gfuf commented 1 year ago

if you can help with patching i would be very grateful